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
configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig
[platform/kernel/u-boot.git]
/
drivers
/
mtd
/
spi
/
spi-nor-core.c
diff --git
a/drivers/mtd/spi/spi-nor-core.c
b/drivers/mtd/spi/spi-nor-core.c
index
4388a08
..
a70fbda
100644
(file)
--- a/
drivers/mtd/spi/spi-nor-core.c
+++ b/
drivers/mtd/spi/spi-nor-core.c
@@
-3707,8
+3707,8
@@
int spi_nor_scan(struct spi_nor *nor)
int ret;
int cfi_mtd_nb = 0;
-#ifdef CONFIG_
SYS_MAX_FLASH_BANKS
- cfi_mtd_nb = C
ONFIG_SYS_MAX
_FLASH_BANKS;
+#ifdef CONFIG_
FLASH_CFI_MTD
+ cfi_mtd_nb = C
FI
_FLASH_BANKS;
#endif
/* Reset SPI protocol for all commands. */