u-boot-brain/drivers/mtd/nand
Adam Ford d46d27d3b6 MTD: mxs_nand_spl: Redo the way nand_init initializes
Currently the spl system calls nand_init which does nothing.
It isn't until an attempt to load from NAND that it gets initialized.
Subsequent attempts to load just skip the initialization  because
NAND is already initialized.

This moves the contents of mxs_nand_init to nand_init.  In the event
of an error, it clears the number of nand chips found.  Any
attempts to use nand will check if there are nand chips available
instead of actually doing the initialization at that time. If there
are none, it will return an error to the higher level calls.

Signed-off-by: Adam Ford <aford173@gmail.com>
2019-03-13 09:14:35 +01:00
..
raw MTD: mxs_nand_spl: Redo the way nand_init initializes 2019-03-13 09:14:35 +01:00
spi mtd: nand: spi: Add Gigadevice SPI NAND support 2018-10-04 18:24:24 +05:30
bbt.c mtd: nand: Add core infrastructure to deal with NAND devices 2018-09-20 20:10:49 +05:30
core.c mtd: nand: Add core infrastructure to deal with NAND devices 2018-09-20 20:10:49 +05:30
Kconfig mtd: nand: Add core infrastructure to support SPI NANDs 2018-09-20 20:10:49 +05:30
Makefile mtd: nand: Add core infrastructure to support SPI NANDs 2018-09-20 20:10:49 +05:30