| #
53bfae03 |
| 27-Apr-2020 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: nand: add BBT using flash management strategy
Change-Id: Ib71dfbcf68283d1118742ab29079cab395ff99ca Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
749af7cd |
| 16-Aug-2018 |
Peter Pan <peterpandong@micron.com> |
UPSTREAM: mtd: nand: Add core infrastructure to support SPI NANDs
Add a SPI NAND framework based on the generic NAND framework and the spi-mem infrastructure.
In its current state, this framework s
UPSTREAM: mtd: nand: Add core infrastructure to support SPI NANDs
Add a SPI NAND framework based on the generic NAND framework and the spi-mem infrastructure.
In its current state, this framework supports the following features:
- single/dual/quad IO modes - on-die ECC
Change-Id: Ifdb3001b7570e0e034f7125c4b66053462f2aed2 Signed-off-by: Peter Pan <peterpandong@micron.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 0a6d6bae03864938f073cc114992c40f2338a155)
show more ...
|
| #
ed99f773 |
| 16-Aug-2018 |
Boris Brezillon <boris.brezillon@bootlin.com> |
UPSTREAM: mtd: nand: Add core infrastructure to deal with NAND devices
Add an intermediate layer to abstract NAND device interface so that some logic can be shared between SPI NANDs, parallel/raw NA
UPSTREAM: mtd: nand: Add core infrastructure to deal with NAND devices
Add an intermediate layer to abstract NAND device interface so that some logic can be shared between SPI NANDs, parallel/raw NANDs, OneNANDs, ...
Change-Id: I0c2b2e3ddae912756a35aac2741dd1ce8a243b35 Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit b95db8d33a1e920801816e47ffc5c6f18acce024)
show more ...
|
| #
cfcc706c |
| 16-Aug-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: mtd: move NAND files into a raw/ subdirectory
NAND flavors, like serial and parallel, have a lot in common and would benefit to share code. Let's move raw (parallel) NAND specific code in
UPSTREAM: mtd: move NAND files into a raw/ subdirectory
NAND flavors, like serial and parallel, have a lot in common and would benefit to share code. Let's move raw (parallel) NAND specific code in a raw/ subdirectory, to ease the addition of a core file in nand/ and the introduction of a spi/ subdirectory specific to SPI NANDs.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Change-Id: Ibb56f85620c4798fb579be3e4e30438963b7c48b Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a430fa06a4ac50e785fdbfb7f43c3cb14b35619c)
show more ...
|
| #
02850ceb |
| 08-Jul-2018 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: Convert CONFIG_NAND_DAVINCI to Kconfig
This converts the following to Kconfig: CONFIG_NAND_DAVINCI
Signed-off-by: Adam Ford <aford173@gmail.com>
Change-Id: I3d95031ee5ebaa5e8ac6c03236
UPSTREAM: Convert CONFIG_NAND_DAVINCI to Kconfig
This converts the following to Kconfig: CONFIG_NAND_DAVINCI
Signed-off-by: Adam Ford <aford173@gmail.com>
Change-Id: I3d95031ee5ebaa5e8ac6c03236622089ccf3caee Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit eba7f1ff6c9836931f0ce2812182190862e38b5f)
show more ...
|
| #
2cce6f54 |
| 08-Jul-2018 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: Convert CONFIG_NAND_ATMEL to Kconfig
This converts the following to Kconfig: CONFIG_NAND_ATMEL
Signed-off-by: Adam Ford <aford173@gmail.com>
Change-Id: Ic71bd0ef5704faf04852bf51d265d9
UPSTREAM: Convert CONFIG_NAND_ATMEL to Kconfig
This converts the following to Kconfig: CONFIG_NAND_ATMEL
Signed-off-by: Adam Ford <aford173@gmail.com>
Change-Id: Ic71bd0ef5704faf04852bf51d265d94e1a8dc259 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit e7db856bf96213ba3f6b716be9fa264e184f74e2)
show more ...
|
| #
e81e7a85 |
| 08-Jul-2018 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: Convert CONFIG_NAND_LPC32XX_SLC to Kconfig
This converts the following to Kconfig: CONFIG_NAND_LPC32XX_SLC
Change-Id: Ib4d42bc173665d6483af8c1007006dd0422d5a86 Signed-off-by: Adam Ford
UPSTREAM: Convert CONFIG_NAND_LPC32XX_SLC to Kconfig
This converts the following to Kconfig: CONFIG_NAND_LPC32XX_SLC
Change-Id: Ib4d42bc173665d6483af8c1007006dd0422d5a86 Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit d294335e5d51aa83b6dd57db85c3251e9a92349e)
show more ...
|
| #
db281d09 |
| 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
UPSTREAM: mtd: nand: mxs_nand: add device tree support
Support driver data from device tree. Also support fsl,use-minimal-ecc similar to Linux' GPMI NAND driver.
Change-Id: I3f91a764c1bf75bdb5a5132
UPSTREAM: mtd: nand: mxs_nand: add device tree support
Support driver data from device tree. Also support fsl,use-minimal-ecc similar to Linux' GPMI NAND driver.
Change-Id: I3f91a764c1bf75bdb5a51328146297a4b662141f Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit f75e83bfae2bcf36197e25b8b3d539b0652b83fa)
show more ...
|
| #
6d696830 |
| 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
UPSTREAM: mtd: nand: mxs_nand: add minimal ECC support
Add support for minimum ECC strength supported by the NAND chip. This aligns with the behavior when using the fsl,use-minimum-ecc device tree p
UPSTREAM: mtd: nand: mxs_nand: add minimal ECC support
Add support for minimum ECC strength supported by the NAND chip. This aligns with the behavior when using the fsl,use-minimum-ecc device tree property in Linux.
Change-Id: Id687fc1d9ce8c18ffb5ff387b08a486d220a34e8 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 984df7add1fe6e5a25854eae81f51940806456bc)
show more ...
|
| #
0039efa1 |
| 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
UPSTREAM: mtd: nand: mxs_nand: use self init
Instead of completing initialization via scan_bbt callback use NAND self init to initialize the GPMI (MXS) NAND controller.
Suggested-by: Scott Wood <os
UPSTREAM: mtd: nand: mxs_nand: use self init
Instead of completing initialization via scan_bbt callback use NAND self init to initialize the GPMI (MXS) NAND controller.
Suggested-by: Scott Wood <oss@buserror.net> Change-Id: I27a3a5c32edd3f5c27dd7385875656cc1c6ece62 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 5346c31e305a37d39f535cc0d5ae87d8b7e81230)
show more ...
|
| #
6428a0b7 |
| 28-Feb-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: sunxi: move the NAND parameters to Kconfig
Move the NAND parameters from defconfig files to Kconfig for SUNXI architecture only. Fort now only the CHIP pro is migrated.
It would have been
UPSTREAM: sunxi: move the NAND parameters to Kconfig
Move the NAND parameters from defconfig files to Kconfig for SUNXI architecture only. Fort now only the CHIP pro is migrated.
It would have been better to convert this defconfig entry to Kconfig for all supported machines/architectures but it has been abandoned due to a fairly high amount of errors reported by the moveconfig.py tool. This is due to defines quite often being multiplications of values/other defines not correctly handled.
Change-Id: I9010719934b53180d2af15e45acabc45dd39d039 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 748b5b34d3d0e67923cac5f8606b7a209e063df6)
show more ...
|
| #
7cdf5b3d |
| 28-Feb-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: sunxi: make NAND_SUNXI use ARCH_SUNXI as default in Kconfig
Remove NAND_SUNXI from the CHIP pro defconfig to be automatically selected depending on the state of ARCH_SUNXI.
Change-Id: I49
UPSTREAM: sunxi: make NAND_SUNXI use ARCH_SUNXI as default in Kconfig
Remove NAND_SUNXI from the CHIP pro defconfig to be automatically selected depending on the state of ARCH_SUNXI.
Change-Id: I49bec5ad57be81004a5836adeebd40b5fabe55e4 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit b56052f4ca40d0d8b29fb7bd3be4c104618e4fc8)
show more ...
|
| #
05d4858a |
| 28-Feb-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: sunxi: automatically select SPL_NAND_SUPPORT in Kconfig
Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the number of entries to add in defconfig files when adding NAND supp
UPSTREAM: sunxi: automatically select SPL_NAND_SUPPORT in Kconfig
Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the number of entries to add in defconfig files when adding NAND support.
For now, the only board using it is the CHIP pro.
Change-Id: Ia308aa9a877a06912571510d18a00e3aaaff0403 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 6d094d535c121637775b5108f1e78e426017f757)
show more ...
|
| #
dbb23086 |
| 28-Feb-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: sunxi: allow NAND support to be compiled for sun8i platforms
Add some clocks/PLL definitions as well as the dependency on MACH_SUN8I in Kconfig.
Change-Id: I8fb0229aa90d5b837c3f2a735dc1b1
UPSTREAM: sunxi: allow NAND support to be compiled for sun8i platforms
Add some clocks/PLL definitions as well as the dependency on MACH_SUN8I in Kconfig.
Change-Id: I8fb0229aa90d5b837c3f2a735dc1b169dca37b06 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 663e8a9b54ccbc9b939e4e3696a84fdf2f5a43fc)
show more ...
|
| #
6a35a5ca |
| 06-Feb-2018 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: Convert CONFIG_APBH_DMA et al to Kconfig
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8
Signed-off-by: Adam Ford <aford173@g
UPSTREAM: Convert CONFIG_APBH_DMA et al to Kconfig
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8
Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Stefan Agner <stefan.agner@toradex.com> [trini: Add in MMC as well] Change-Id: I45b919ab747aa414ba23f1e165c11dd8aff44c44 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 99bec1aead5927c54f4364bfe10823a86fe0dad2)
show more ...
|
| #
fd70bba7 |
| 06-Feb-2018 |
Stefan Agner <stefan.agner@toradex.com> |
UPSTREAM: Convert CONFIG_NAND_MXS to Kconfig
This converts CONFIG_NAND_MXS to Kconfig.
Change-Id: I217ef77c1e7a11072e08f84d2ab4720e98df9b3f Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Si
UPSTREAM: Convert CONFIG_NAND_MXS to Kconfig
This converts CONFIG_NAND_MXS to Kconfig.
Change-Id: I217ef77c1e7a11072e08f84d2ab4720e98df9b3f Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit c87c81186cf7e5073dbc7c5f46ad256a84f5ed22)
show more ...
|
| #
55bb5553 |
| 15-Jan-2018 |
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> |
UPSTREAM: nand: arasan: Select CONFIG_SYS_NAND_SELF_INIT
The Arasan NFC driver requires the self-init mode, so it should select it.
Instead of having the config header define the macro, it's cleane
UPSTREAM: nand: arasan: Select CONFIG_SYS_NAND_SELF_INIT
The Arasan NFC driver requires the self-init mode, so it should select it.
Instead of having the config header define the macro, it's cleaner to select the option at the Kconfig level.
Change-Id: I7071edaf3c1bc6defd7772319c15a15df2030938 Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit d55c8159bddd133610e18174b4c4d02a3484a173)
show more ...
|
| #
0cced741 |
| 06-Dec-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: mtd: nand: denali: make NAND_DENALI unconfigurable option
denali.c has no driver entry in itself. It makes sense only when compiled together with denali_dt.c
Let NAND_DENALI_DT select NA
UPSTREAM: mtd: nand: denali: make NAND_DENALI unconfigurable option
denali.c has no driver entry in itself. It makes sense only when compiled together with denali_dt.c
Let NAND_DENALI_DT select NAND_DENALI, and hide NAND_DENALI from the Kconfig menu.
Change-Id: I6b1299b7995b7f2481f0c3a69599ee11e7be3779 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit dc774e69bb72a3d8ff4c2af7a280a655f395530b)
show more ...
|
| #
d99779a7 |
| 21-Nov-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1
I largely reworked the Denali NAND controller driver in Linux. This commit imports the improvements from Linux. The code is almost synced with
UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1
I largely reworked the Denali NAND controller driver in Linux. This commit imports the improvements from Linux. The code is almost synced with Linux 4.15-rc1.
Change-Id: I095cb46a2d500567e053196ff05061e16ca2dc98 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 350d052dab99986571c03951f0aed621dacfb9d9)
show more ...
|
| #
b0f1578d |
| 06-Nov-2017 |
Jeff Westfahl <jeff.westfahl@ni.com> |
UPSTREAM: mtd: nand: zynq: Add a config option to use 1st stage bootloader timing
In legacy method, 1st stage bootloader was used to configure the HW setting such as NAND timing. Hence, adding a con
UPSTREAM: mtd: nand: zynq: Add a config option to use 1st stage bootloader timing
In legacy method, 1st stage bootloader was used to configure the HW setting such as NAND timing. Hence, adding a config option in Zynq NAND driver for the compatibility of device that using 1st stage bootloder instead of U-boot SPL.
This commit is to add config option CONFIG_NAND_ZYNQ_USE_BOOTLOADER1_TIMINGS that allow NAND driver use timing values set by the 1st stage bootloader, instead of the hard-coded values in the Zynq NAND driver.
Change-Id: Ib0558453a4cdac2baf7f4441eccf6e42a0a3d175 Signed-off-by: Jeff Westfahl <jeff.westfahl@ni.com> Signed-off-by: Wilson Lee <wilson.lee@ni.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Keng Soon Cheah <keng.soon.cheah@ni.com> Cc: Chen Yee Chew <chen.yee.chew@ni.com> Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Scott Wood <oss@buserror.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 8000d6ea3fc99fba43e84d870632ebde3117bb35)
show more ...
|
| #
c6f9c038 |
| 20-Oct-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: omap2: nand: Make NAND_OMAP_GPMC_PREFETCH default
This option provides better performance and should really always be enabled. Make this be default y.
Change-Id: Iecc4f7b97e6769ea01cb0a6
UPSTREAM: omap2: nand: Make NAND_OMAP_GPMC_PREFETCH default
This option provides better performance and should really always be enabled. Make this be default y.
Change-Id: Iecc4f7b97e6769ea01cb0a69c708efc98a6ccbc3 Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 39e709611df05505ada013a37c5254b4c671b847)
show more ...
|
| #
157f8461 |
| 16-Oct-2017 |
Adam Ford <aford173@gmail.com> |
UPSTREAM: Convert CONFIG_NAND_OMAP_GPMC et al and CONFIG_NAND_MXC to Kconfig
This converts the following to Kconfig: CONFIG_NAND_MXC CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH
UPSTREAM: Convert CONFIG_NAND_OMAP_GPMC et al and CONFIG_NAND_MXC to Kconfig
This converts the following to Kconfig: CONFIG_NAND_MXC CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE CONFIG_SYS_NAND_BUSWIDTH_16BIT
Change-Id: Ic2238bb7ba18d9ae37dfef7ac7593fd42e34ef7d Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues, add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 0a9ef45158d586017839d4b6fccd7f8f16672156)
show more ...
|
| #
411568d7 |
| 30-May-2019 |
Yifeng Zhao <zyf@rock-chips.com> |
drivers: mtd: nand: support rockchip nand driver as a DT device
Change-Id: I0023502f5121354863ed63fefa380643ec49b1e1 Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
|
| #
ca13d12f |
| 15-Mar-2019 |
Yifeng Zhao <zyf@rock-chips.com> |
drivers: mtd: nand: add rockchip nandc v9 drivers
Change-Id: I7019f309528d41710c5af6857a4d4f54037dd595 Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
|
| #
a3584243 |
| 17-Aug-2017 |
Paweł Jarosz <paweljarosz3691@gmail.com> |
mtd: nand: add the rockchip nand controller driver
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface suppor
mtd: nand: add the rockchip nand controller driver
Add basic Rockchip nand driver.
Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later.
Change-Id: I8e766afe7358a2357d75cfe094c4cd6fe92bd281 Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|