mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
mtd: nand: Add the sunxi NAND controller driver
We already have an SPL driver for the sunxi NAND controller, now add the normal/standard one. The source has been copied from Linux 4.6 with a few changes to make it work in u-boot. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Scott Wood
parent
42bd19ce6c
commit
4ccae81cda
@@ -142,3 +142,6 @@ __attribute__((noreturn)) void nand_boot(void);
|
||||
int get_nand_env_oob(struct mtd_info *mtd, unsigned long *result);
|
||||
#endif
|
||||
int spl_nand_erase_one(int block, int page);
|
||||
|
||||
/* platform specific init functions */
|
||||
void sunxi_nand_init(void);
|
||||
|
Reference in New Issue
Block a user