rv1126-uboot/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
..
Kconfig spl: nand: support redundant u-boot image 2016-06-19 19:11:57 -05:00
Makefile mtd: nand: Remove docg4 driver and palmtreo680 flashing tool 2016-06-03 20:27:48 -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
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
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
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
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
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
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
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
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_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
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
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
vf610_nfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00