Enable the clock framework on the m2b platform as was done
in m2 variant. This helps to increase the NAND controller performance.
Signed-off-by: Michael Trimarchi
---
configs/imx6ulz_smm_m2b_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/imx6ulz_smm_m2b_defconfig
b
Add the configuration that allow to reset the board from reset
cmd
Signed-off-by: Michael Trimarchi
---
configs/imx6ulz_smm_m2b_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/imx6ulz_smm_m2b_defconfig
b/configs/imx6ulz_smm_m2b_defconfig
index 3d7530431fd..36f5922ea10
s for
selective inclusion of the desired memory components.
Signed-off-by: Michael Trimarchi
---
Changes in v3:
- Fix typo in MAINTAINERS
- Pipeline
https://dev.azure.com/u-boot/u-boot/_build/results?buildId=11274&view=results
Changes in v2:
- Ajust commit message and kconfig
- Add MAINTAINERS e
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage
Reviewed-by: Peng Fan
Reviewed-by: Christoph Niedermaier
Tested-by: Christoph Niedermaier
Signed-off-by: Michael Trimarchi
---
Changes in v4:
- Fix Kconfig typo
- Fix IPG clock duplication
- Add space for consistency in block
- and
The clock driver allows to boost the NAND performance
controller. Make changes to let it use the new clock driver
=> time nand read ${loadaddr} kernel
NAND read: device 0 offset 0x50, size 0x80
8388608 bytes read: OK
time: 0.488 seconds
Signed-off-by: Michael Trimarchi
---
Chan
Enable the clock framework on the m2 platform.
This helps to increase the NAND controller performance.
Signed-off-by: Michael Trimarchi
---
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- Ajust commit message
- drop CONFIG_DM_MTD selected already by MXS_NAND_DT
configs
Make simple the clock registration and enable and allow later
to add support for other platforms
Signed-off-by: Michael Trimarchi
---
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- no changes
drivers/mtd/nand/raw/mxs_nand_dt.c | 48 --
1 file
The clock driver allows to boost the NAND performance
controller. Make changes to let it use the new clock driver
=> time nand read ${loadaddr} kernel
NAND read: device 0 offset 0x50, size 0x80
8388608 bytes read: OK
time: 0.488 seconds
Signed-off-by: Michael Trimarchi
---
Chan
Enable the clock framework on the m2 platform.
This helps to increase the NAND controller performance.
Signed-off-by: Michael Trimarchi
---
Changes in v3:
- None
Changes in v2:
- Ajust commit message
- drop CONFIG_DM_MTD selected already by MXS_NAND_DT
configs/imx6ulz_smm_m2_defconfig | 2
Make simple the clock registration and enable and allow later
to add support for other platforms
Signed-off-by: Michael Trimarchi
---
Changes in v3:
- None
Changes in v2:
- no changes
drivers/mtd/nand/raw/mxs_nand_dt.c | 48 --
1 file changed, 5 insertions(+), 43
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage
Reviewed-by: Peng Fan
Signed-off-by: Michael Trimarchi
---
Changes in v3:
- Add all uarts definition
- Move OSC on top suggested
- Drop an invalid clock definition
- Move some pll before they are referenced
Changes in v2:
- None
s for
selective inclusion of the desired memory components.
Signed-off-by: Michael Trimarchi
---
Changes in v2:
- Ajust commit message and kconfig
- Add MAINTAINERS entry just for configuration file
board/bsh/imx6ulz_smm_m2/Kconfig | 21 +++
board/bsh/imx6ulz_smm_m2/MAINTAINERS
s for
selective inclusion of the desired memory components
Signed-off-by: Michael Trimarchi
---
board/bsh/imx6ulz_smm_m2/Kconfig | 21 +++
board/bsh/imx6ulz_smm_m2/Makefile | 4 +-
board/bsh/imx6ulz_smm_m2/ddr3l_timing_128m.c | 1 +
.../imx6ulz_smm_m2/ddr3l_timing_128m_
Enable the clock framework on the m2 platform.
This helps to increase the NAND controller performance.
Signed-off-by: Michael Trimarchi
---
Changes in v2:
- Ajust commit message
- drop CONFIG_DM_MTD selected already by MXS_NAND_DT
configs/imx6ulz_smm_m2_defconfig | 2 ++
1 file changed, 2
The clock driver allows to boost the NAND performance
controller. Make changes to let it use the new clock driver
=> time nand read ${loadaddr} kernel
NAND read: device 0 offset 0x50, size 0x80
8388608 bytes read: OK
time: 0.488 seconds
Signed-off-by: Michael Trimarchi
---
Chan
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage
Reviewed-by: Peng Fan
Signed-off-by: Michael Trimarchi
---
Changes in v2:
- Add review tag
drivers/clk/imx/Kconfig | 8 ++
drivers/clk/imx/Makefile | 1 +
drivers/clk/imx/clk-imx6ul.c | 270
Make simple the clock registration and enable and allow later
to add support for other platforms
Signed-off-by: Michael Trimarchi
---
Changes in v2:
- no changes
drivers/mtd/nand/raw/mxs_nand_dt.c | 48 --
1 file changed, 5 insertions(+), 43 deletions(-)
diff
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/Kconfig | 8 ++
drivers/clk/imx/Makefile | 1 +
drivers/clk/imx/clk-imx6ul.c | 270 +++
3 files changed, 279 insertions(+)
create mode
Allow to use clock framework for the m2 platform. This allow
to have better performance to nand controller
Signed-off-by: Michael Trimarchi
---
configs/imx6ulz_smm_m2_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/imx6ulz_smm_m2_defconfig b/configs
The clock driver allow to burst the performance of the nand
controller. Make changes to let it use the new clock driver
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mxs_nand.c| 12
drivers/mtd/nand/raw/mxs_nand_dt.c | 2 +-
2 files changed, 13 insertions(+), 1
Make simple the clock registration and enable and allow later
to add support for other platforms
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 48 --
1 file changed, 5 insertions(+), 43 deletions(-)
diff --git a/drivers/mtd/nand/raw
default reset_cpu()")
Signed-off-by: Michael Trimarchi
---
arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi
b/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi
index c67622821e7..faf596255f1 100644
Add the configuration that allow to reset the board from reset
cmd
Signed-off-by: Michael Trimarchi
---
configs/imx6ulz_smm_m2_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/imx6ulz_smm_m2_defconfig b/configs/imx6ulz_smm_m2_defconfig
index 15a3ec5c627..436bfb78cc2
The node is specified on the parent architecture u-boot.dtsi
file
Signed-off-by: Michael Trimarchi
---
arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi
b/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi
Schocher
Signed-off-by: Michael Trimarchi
---
V1->V2:
- fix compilation problem on super.c
RFC->V1:
- Heiko gives more points to address on the patch and review it
- Alexander Dahl test on top of his own series reported in the
commit message
- add l
Schocher
Signed-off-by: Michael Trimarchi
---
RFC=>V1:
- Heiko gives more points to address on the patch and review it
- Alexander Dahl test on top of his own series reported in the
commit message
- add leak on super.c file too from Heiko
---
fs/ubifs/super.c
The inode should be freed after a reference is get to avoid
memory leak
Signed-off-by: Michael Trimarchi
---
fs/ubifs/ubifs.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index 048730db7f..6acd6c3776 100644
--- a/fs/ubifs
Print clk name in clk_enable and clk_disable. Make sense to know
what clock get disabled/enabled before a system crash or system
hang.
Signed-off-by: Michael Trimarchi
---
drivers/clk/clk-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-uclass.c b
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-imx8mp.c | 242 +--
1 file changed, 121 insertions(+), 121 deletions(-)
diff --git a/drivers/clk/imx/clk-imx8mp.c b
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-imx8mm.c | 157 +--
1 file changed, 93 insertions(+), 64 deletions(-)
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-imx8mn.c | 142 ---
1 file changed, 81 insertions(+), 61 deletions(-)
diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers
: clk-imx8mn add gpmi nand clocks")
Fixes: 85b1c11989c ("clk: imx: Add ECSPI to iMX8MN")
Cc: Marek Vasut
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-imx8mn.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/imx/clk-imx8mn
This series is cover other part of my internal review work, that
will allow us to support the video subsystem of imx8mn. During this work
I found some small issues that fix several small problems but it will
help as preparation for the video one
Michael Trimarchi (4):
clk: imx: clk-imx8mn Fix
.
Signed-off-by: Peng Fan
Reviewed-by: Dong Aisheng
Signed-off-by: Shawn Guo
Signed-off-by: Michael Trimarchi
---
V1->V2:
add original submitter in linux kernel, suggested by Fabio
Estevam
---
drivers/clk/imx/clk-composite-8m.c | 37 +-
1 file chan
Make public the clk_fetch_parent_index and rename it. This allow
us to be reused in driver specialization
Signed-off-by: Michael Trimarchi
---
V1->V2:
Nothing changed
---
drivers/clk/clk-mux.c| 5 ++---
include/linux/clk-provider.h | 1 +
2 files changed, 3 insertions(+)
The mux ops for i.MX8M composite clk needs to be specialized.
In order to reduce the code duplication we need to make public some
interface and write a specific function in the mux ops. Those patches
implement the behavior.
Addressed comment in V1
Michael Trimarchi (2):
clk: clk-mux: Make
: Sam Protsenko
Signed-off-by: Michael Trimarchi
---
drivers/clk/clk-gate.c | 1 +
drivers/clk/clk-mux.c| 2 +-
drivers/clk/clk-uclass.c | 20
drivers/clk/clk.c| 9 +
include/clk.h| 9 +
include/linux/clk-provider.h
: Sam Protsenko
Signed-off-by: Michael Trimarchi
---
drivers/clk/clk-gate.c | 1 +
drivers/clk/clk-mux.c| 2 +-
drivers/clk/clk-uclass.c | 20
drivers/clk/clk.c| 9 +
4 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-gate.c b/dr
A and configure SEL_A to clk2,
however the current SEL_A input clk0 is off, the system hang.
The solution to fix the issue is in step 1, write twice to
target interface MUX, it will make SEL_A/SEL_B both sources
from clk1, then no need to care about the state of clk0. And
finally system per
Make public the clk_fetch_parent_index and rename it. This allow
us to be reused in driver specialization
Signed-off-by: Michael Trimarchi
---
drivers/clk/clk-mux.c| 5 ++---
include/linux/clk-provider.h | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk
The mux ops for i.MX8M composite clk needs to be specialized.
In order to reduce the code duplication we need to make public some
interface and write a specific function in the mux ops. Those patches
implement the behavior
Michael Trimarchi (2):
clk: clk-mux: Make public the
The mux flags (u8), div flags (u8), and gate flags (u8) are not the clk
flags (unsigned long). They have different meanings
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-composite-93.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/clk/imx/clk-composite-93.c
b/drivers
The mux flags (u8), div flags (u8), and gate flags (u8) are not the clk
flags (unsigned long). They have different meanings
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-composite-8m.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clk/imx/clk
The timing upstream was wrong corresponding to the production.
This come evident after commit b614ddb5d33
(ddr: imx: Save the FW loading if it hasn't changed). This
change fix booting from usb
Signed-off-by: Michael Trimarchi
---
board/bsh/imx8mn_smm_s2/ddr3l_timing_256m.c
Add clocks support for the video subsystem.
Signed-off-by: Michael Trimarchi
---
drivers/clk/imx/clk-imx8mn.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c
index 457acb8a40..baac79dd29 100644
--- a
{
default = "conf-0";
conf-0 {
description = "k3-am62_ccm_m3";
firmware = "atf";
loadables = "dm", "spl";
fdt = "fdt-0";
};
};
Signed-off-by: Michael Tr
;k3-am62_ccm_m3";
firmware = "atf";
loadables = "dm", "spl";
fdt = "fdt-0";
};
};
Signed-off-by: Michael Trimarchi
---
arch/arm/dts/k3-binman.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git
Coming from some discussion on mailing about wget unconsistent. It's
just and idea to play around
Signed-off-by: Michael Trimarchi
---
RFC V1 -> RFC V2:
- drop random train change in unsigned difference
---
include/net/tcp.h | 10 ++
net/wget.c| 2 +-
2 files
Coming from some discussion on mailing about wget unconsistent. It's
just and idea to play around
Signed-off-by: Michael Trimarchi
---
I'm on a train ;). No board to test
---
include/net/tcp.h | 10 ++
net/wget.c| 8
2 files changed, 14 insertions(+), 4
emmc and not only boot partition
Signed-off-by: Michael Trimarchi
---
arch/arm/mach-k3/am625_init.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-k3/am625_init.c b/arch/arm/mach-k3/am625_init.c
index 8fa36f7b91..cb4c3a05b5 100644
--- a/arch/arm/mach-k3
tfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x0280
Retrieving file: /boot/k3-am623_ccm_m3.dtb
Skipping fdtdir /boot/ for failure retrieving dts
Signed-off-by: Michael Trimarchi
---
boot/pxe_utils.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index
correct results.
Reported-by: Marcin Gołaś
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c
index 215b9ba84f..bc61ad03eb 100644
The max size is defined at architectural level. On the same commit
I have checked mostly all the other architecture and look like they are
Fixes: commit ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig")
Signed-off-by: Michael Trimarchi
---
configs/evb-px30
The max size is defined at architectural level
Signed-off-by: Michael Trimarchi
---
configs/evb-px30_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/evb-px30_defconfig b/configs/evb-px30_defconfig
index 240a044b2a..4f88879e18 100644
--- a/configs/evb-px30_defconfig
+++ b
Extract the information about ecc strength and ecc step size
from mtd controller. This information is usefull to check if
what we think as ecc is what we really configured.
Signed-off-by: Michael Trimarchi
---
cmd/nand.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff
Introduce BSH SystemMaster (SMM) M2 board family, which consists of:
imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards.
Add support for imx6ulz BSH SMM M2 board:
- 128 MiB DDR3 RAM
- 256MiB Nand
- USBOTG1 peripheral - fastboot.
Signed-off-by: Michael Trimarchi
---
Changes V4->V5:
-
Signed-off-by: Michael Trimarchi
---
board/bsh/imx8mn_smm_s2/ddr3l_timing_256m.c | 23 -
board/bsh/imx8mn_smm_s2/ddr3l_timing_512m.c | 23 -
2 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/board/bsh/imx8mn_smm_s2/ddr3l_timing_256m.c
b
The board can mount different nand brand type. Try to use the full scan
detection and not the onfi one
Signed-off-by: Michael Trimarchi
---
configs/imx8mn_bsh_smm_s2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/imx8mn_bsh_smm_s2_defconfig
b/configs
,
K9GAG08U0F, K9GAG08X0D, K9GBG08U0A, K9GBG08U0B. These all use these bits
in the exact same way.
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_samsung.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/mtd/nand/raw/nand_samsung.c
b/drivers/mtd/nand
Upstream linux commit 7bb427990ee364.
Rename the function to match this new behavior.
NOTE: fix nand_detect/nand_get_flash_type parameters in
mxs_nand_spl. This code seems never executed by any board
as alternative for nand detect
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw
Upstream linux commit 4722c0e958e636.
The returned "type" is never used in nand_scan_ident() and spl code
Make nand_get_flash_type() simply return an integer value in order
to avoid unnecessary ERR_PTR/PTR_ERR dance.
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mt7
Upstream linux commit 8cfb9ab68f9070.
Drop the 's' at the end of nand_manufacturers since the struct is actually
describing a single manufacturer, not a manufacturer table.
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 4 ++--
drivers/mtd/nand/raw/nand_
KiB, page size: 2048, OOB size: 64
Michael Trimarchi (5):
mtd: nand: Rename the nand_manufacturers struct
mtd: nand: change return type of nand_get_flash_type() to int
mtd: nand: Rename nand_get_flash_type() into nand_detect()
mtd: nand: samsung: Retrieve ECC requirements from extended
Introduce BSH SystemMaster (SMM) M2 board family, which consists of:
imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards.
Add support for imx6ulz BSH SMM M2 board:
- 128 MiB DDR3 RAM
- 256MiB Nand
- USBOTG1 peripheral - fastboot.
Signed-off-by: Michael Trimarchi
---
Changes V3->V4:
- rea
Introduce BSH SystemMaster (SMM) M2 board family, which consists of:
imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards.
Add support for imx6ulz BSH SMM M2 board:
- 128 MiB DDR3 RAM
- 256MiB Nand
- USBOTG1 peripheral - fastboot.
Signed-off-by: Michael Trimarchi
---
Changes V2->V3:
- rem
+0200)
Michael Trimarchi (14):
mtd: nand: Get rid of busw parameter
mtd: nand: Store nand ID in struct nand_chip
mtd: nand: Add manufacturer specific initialization/detection steps
mtd: nand: Get rid of mtd
museum
REMARK Don't apply this part from upstream:
Some of the iron age ones are transferred to the regular NAND depot. Namely,
only those
which have unique device IDs are transferred, and the ones which have
conflicting device IDs are removed.
Signed-off-by: Michael Trimarchi
---
V
Upstream linux commit fb3bff5b40
This patch enables support to read the ECC strength and size from the
NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is
based on the information of the 6th ID byte of the Toshiba Memory SLC
NAND.
Signed-off-by: Michael Trimarchi
---
V1->
Upstream linux commit 3b5206f4be
Move Macronix specific initialization logic into nand_macronix.c. This
is part of the "separate vendor specific code from core" cleanup
process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remove linux info
Upstream linux commit 229204da53
Move AMD/Spansion specific initialization/detection logic into
nand_amd.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remo
Upstream linux commit 10d4e75c36
Move Micron specific initialization logic into nand_micron.c. This is
part of the "separate vendor specific code from core" cleanup process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remove linux info
Upstream linux commit 9b2d61f80b
Move Toshiba specific initialization and detection logic into
nand_toshiba.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remo
Upstream linux commit 01389b6bd2
Move Hynix specific initialization and detection logic into
nand_hynix.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remo
Upstream linux commit c51d0ac59f
Move Samsung specific initialization and detection logic into
nand_samsung.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remo
In preparation of moving specific nand support that are not jedec
or onfi
Signed-off-by: Michael Trimarchi
---
V1->V2:
- no changes
---
drivers/mtd/nand/raw/nand_base.c | 3 ++-
include/linux/mtd/rawnand.h | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --gi
chip points to mtd. Passing chip is enough to have a reference
to mtd when is necessary
Signed-off-by: Michael Trimarchi
---
V1->V2:
- no changes
---
drivers/mtd/nand/raw/nand_base.c | 20 +++-
include/linux/mtd/rawnand.h | 3 +--
2 files changed, 12 inserti
full-id entries in the nand_ids table or all the vendor specific
cases added over the time in the generic NAND ID decoding logic.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remove linux info. Uboot seems that backport without add this
ex
Upstream linux commit 7f501f0a72
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len
as function parameters.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remove linux info. Uboot seems that backport without add this
ex
the NAND_BUSWIDTH_16 flag in
chip->options if needed.
Signed-off-by: Michael Trimarchi
---
V1->V2:
- use short-commit form
- remove linux info. Uboot seems that backport without add this
extra information
---
drivers/mtd/nand/raw/nand_ba
series we expect no functional change
Tested on:
- imx6ull Micron MT29F2G08ABAGAH4
Michael Trimarchi (13):
mtd: nand: Get rid of busw parameter
mtd: nand: Store nand ID in struct nand_chip
mtd: nand: Add manufacturer specific initialization/detection steps
mtd: nand: Get rid of mtd
fnode'; did you mean 'mtd_set_of_node'?
[-Werror=implicit-function-declaration]
+ 426 | mtd_set_ofnode(nand->mtd, node);
+ | ^~
+ | mtd_set_of_node
+cc1: all warnings being treated as errors
Cc: Simon Glass
Signed-off-by: Michael Trima
Introduce BSH SystemMaster (SMM) M2 board family, which consists of:
imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards.
Add support for imx6ulz BSH SMM M2 board:
- 128 MiB DDR3 RAM
- 256MiB Nand
- USBOTG1 peripheral - fastboot.
Signed-off-by: Michael Trimarchi
---
Changes V1->V2:
- Adj
-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_ids.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c
index 7602dd30f1..4dece1b206 100644
--- a/drivers/mtd/nand/raw/nand_ids.c
+++ b/drivers/mtd/nand/raw
we expect no functional change
Tested on:
- imx6ull Micron MT29F2G08ABAGAH4
Michael Trimarchi (11):
mtd: nand: Get rid of busw parameter
mtd: nand: Store nand ID in struct nand_chip
mtd: nand: Add manufacturer specific initialization/detection steps
mtd: nand: Get rid of mtd
Upstream commit 3b5206f4be9b65d2f0f85b3239cf117a1d0de7ce
Move Macronix specific initialization logic into nand_macronix.c. This
is part of the "separate vendor specific code from core" cleanup
process.
Signed-off-by: Boris Brezillon
Signed-off-by: Michael Trimarchi
---
drivers/mt
Upstream commit 229204da53b31d576fcc1c93a33626943ea8202c
Move AMD/Spansion specific initialization/detection logic into
nand_amd.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Boris Brezillon
Acked-by: Richard Weinberger
Signed-off-b
ned-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/Makefile | 3 +-
drivers/mtd/nand/raw/nand_base.c| 21 ++--
drivers/mtd/nand/raw/nand_ids.c | 2 +-
drivers/mtd/nand/raw/nand_toshiba.c | 53 +
include/linux/mtd/rawnand.h | 1 +
5 files c
Upstream commit 10d4e75c36f6c16311dde1461f318210da357219
Move Micron specific initialization logic into nand_micron.c. This is
part of the "separate vendor specific code from core" cleanup process.
Signed-off-by: Boris Brezillon
Acked-by: Richard Weinberger
Signed-off-by: Michael
Upstream commit 01389b6bd2f4f7649cdbb4a99a15d9e0c05d6f8c
Move Hynix specific initialization and detection logic into
nand_hynix.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Boris Brezillon
Acked-by: Richard Weinberger
Signed-off-b
ned-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/Makefile | 3 +-
drivers/mtd/nand/raw/nand_base.c| 50 +---
drivers/mtd/nand/raw/nand_ids.c | 4 +-
drivers/mtd/nand/raw/nand_samsung.c | 90 +
include/linux/mtd/rawnand.h | 2 +
5 fil
In preparation of moving specific nand support that are not jedec
or onfi
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 3 ++-
include/linux/mtd/rawnand.h | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/nand_base.c b
Upstream commit 7f501f0a72036dc29ad9a53811474c393634b401
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len
as function parameters.
Signed-off-by: Boris Brezillon
Acked-by: Richard Weinberger
Reviewed-by: Marek Vasut
Signed-off-by: Michael Trimarchi
---
drivers/mtd
chip points to mtd. Passing chip is enough to have a reference
to mtd when is necessary
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 20 +++-
include/linux/mtd/rawnand.h | 3 +--
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a
allow us to get
rid of full-id entries in the nand_ids table or all the vendor specific
cases added over the time in the generic NAND ID decoding logic.
Signed-off-by: Boris Brezillon
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 90
ion code directly set the NAND_BUSWIDTH_16 flag in
chip->options if needed.
Signed-off-by: Boris Brezillon
Acked-by: Richard Weinberger
Reviewed-by: Marek Vasut
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/nand_base.c | 59 +---
1 file chang
When size is 0 we need to stop the inner loop or we just waste
time to load all the block of the eraseblock
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mxs_nand_spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c
b/drivers
legacy_calc_ecc_layout(geo, mtd);
if (!err)
return 0;
}
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mxs_nand_spl.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c
b/drivers/mtd/nand/raw/mxs_nand_spl.c
index 3daacb
Introduce BSH SystemMaster (SMM) M2 board family, which consists of:
imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards.
Add support for imx6ulz BSH SMM M2 board:
- 128 MiB DDR3 RAM
- 256MiB Nand
- USBOTG1 peripheral - fastboot.
Signed-off-by: Michael Trimarchi
---
arch/arm/dts/Makefile
-off-by: Michael Trimarchi
---
MAINTAINERS | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a15ba7abdc..7f27ff4c20 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1064,8 +1064,9 @@ T:git
https://source.denx.de/u-boot/custodians/u-boot
ested on an iMX6SX device with:
* Winbond W29N04GVSIAA
* Spansion S34ML04G100TF100
* Samsung K9F4G08U00
Tested on imx8mn device with:
* Windbond W29N04GV
Signed-off-by: Andrea Scian
CC: Stefano Babic
Signed-off-by: Michael Trimarchi
---
drivers/mtd/nand/raw/mxs_nand_spl.c | 14
1 - 100 of 435 matches
Mail list logo