From 4ccae81cdadce39e925f3e8c96567fd911568000 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 15 Jun 2016 21:09:23 +0200 Subject: 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 Acked-by: Hans de Goede --- include/nand.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/nand.h') diff --git a/include/nand.h b/include/nand.h index 627b217..b6eb223 100644 --- a/include/nand.h +++ b/include/nand.h @@ -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); -- cgit v1.1