u-boot/drivers/mtd/nand
Boris Brezillon 4e7d1b3beb spl: nand: sunxi: split 'load page' and 'read page' logic
Split the 'load page' and 'read page' logic in 2 different functions so
we can later load the page and test different ECC configs without the
penalty of reloading the same page in the NAND cache.

We also move common setup to a dedicated function (nand_apply_config()) to
avoid rewriting the same values in NFC registers each time we read a page.

These new functions are passed a pointer to an nfc_config struct to limit
the number of parameters.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
2016-06-19 19:12:01 -05:00
..
am335x_spl_bch.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
arasan_nfc.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
atmel_nand.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
atmel_nand_ecc.h atmel_nand_ecc: update pmecc registers according to sama5d2 chip 2016-02-02 11:49:10 +01:00
bfin_nand.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
davinci_nand.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
denali.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
denali.h mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
denali_spl.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
fsl_elbc_nand.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
fsl_elbc_spl.c Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
fsl_ifc_nand.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
fsl_ifc_spl.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
fsl_upm.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
fsmc_nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
kb9202_nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
Kconfig spl: nand: support redundant u-boot image 2016-06-19 19:11:57 -05:00
kirkwood_nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
kmeter1_nand.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lpc32xx_nand_mlc.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
lpc32xx_nand_slc.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
Makefile mtd: nand: Remove docg4 driver and palmtreo680 flashing tool 2016-06-03 20:27:48 -05:00
mpc5121_nfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
mxc_nand.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
mxc_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_nand_spl.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
mxs_nand.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
mxs_nand_spl.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
nand_base.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_bbt.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_bch.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_ecc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
nand_ids.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_plat.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
nand_spl_load.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
nand_spl_simple.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
nand_timings.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_util.c nand: fix nand torture to use changed mtd api 2016-06-03 20:29:05 -05:00
ndfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
omap_elm.c mtd: nand: omap: fix error-codes returned from omap-elm driver 2014-06-06 17:46:00 -04:00
omap_gpmc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
pxa3xx_nand.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
pxa3xx_nand.h mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
s3c2410_nand.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
sunxi_nand_spl.c spl: nand: sunxi: split 'load page' and 'read page' logic 2016-06-19 19:12:01 -05:00
tegra_nand.c mtd: nand: Add page argument to write_page() etc. 2016-06-03 20:27:48 -05:00
tegra_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
vf610_nfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00