mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
nand: arasan: Select CONFIG_SYS_NAND_SELF_INIT
The Arasan NFC driver requires the self-init mode, so it should select it. Instead of having the config header define the macro, it's cleaner to select the option at the Kconfig level. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
f25ac66c52
commit
d55c8159bd
@ -123,6 +123,7 @@ endif
|
|||||||
|
|
||||||
config NAND_ARASAN
|
config NAND_ARASAN
|
||||||
bool "Configure Arasan Nand"
|
bool "Configure Arasan Nand"
|
||||||
|
select SYS_NAND_SELF_INIT
|
||||||
imply CMD_NAND
|
imply CMD_NAND
|
||||||
help
|
help
|
||||||
This enables Nand driver support for Arasan nand flash
|
This enables Nand driver support for Arasan nand flash
|
||||||
|
|||||||
@ -76,7 +76,6 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_NAND_ARASAN
|
#ifdef CONFIG_NAND_ARASAN
|
||||||
# define CONFIG_SYS_MAX_NAND_DEVICE 1
|
# define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||||
# define CONFIG_SYS_NAND_SELF_INIT
|
|
||||||
# define CONFIG_SYS_NAND_ONFI_DETECTION
|
# define CONFIG_SYS_NAND_ONFI_DETECTION
|
||||||
# define CONFIG_MTD_DEVICE
|
# define CONFIG_MTD_DEVICE
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user