projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finish conversion CONFIG_SYS_NAND_SELF_INIT to Kconfig
[platform/kernel/u-boot.git]
/
drivers
/
mtd
/
nand
/
raw
/
nand.c
diff --git
a/drivers/mtd/nand/raw/nand.c
b/drivers/mtd/nand/raw/nand.c
index
59ad139
..
4b5560d
100644
(file)
--- a/
drivers/mtd/nand/raw/nand.c
+++ b/
drivers/mtd/nand/raw/nand.c
@@
-76,7
+76,7
@@
int nand_register(int devnum, struct mtd_info *mtd)
return 0;
}
return 0;
}
-#if
ndef CONFIG_SYS_NAND_SELF_INIT
+#if
!CONFIG_IS_ENABLED(SYS_NAND_SELF_INIT)
static void nand_init_chip(int i)
{
struct nand_chip *nand = &nand_chip[i];
static void nand_init_chip(int i)
{
struct nand_chip *nand = &nand_chip[i];
@@
-155,7
+155,7
@@
void nand_init(void)
return;
initialized = 1;
return;
initialized = 1;
-#if
def CONFIG_SYS_NAND_SELF_INIT
+#if
CONFIG_IS_ENABLED(SYS_NAND_SELF_INIT)
board_nand_init();
#else
int i;
board_nand_init();
#else
int i;