mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
drivers/mtd/nand: Move conditional compilation to Makefile
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
4fb09b8192
commit
cc4a0ceeac
48 changed files with 62 additions and 89 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
extern void nand_init(void);
|
||||
|
||||
#ifndef CFG_NAND_LEGACY
|
||||
#ifndef CONFIG_NAND_LEGACY
|
||||
#include <linux/mtd/compat.h>
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/nand.h>
|
||||
|
@ -128,5 +128,5 @@ void board_nand_select_device(struct nand_chip *nand, int chip);
|
|||
|
||||
__attribute__((noreturn)) void nand_boot(void);
|
||||
|
||||
#endif /* !CFG_NAND_LEGACY */
|
||||
#endif /* !CONFIG_NAND_LEGACY */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue