[U-Boot] [PATCH v2 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used
Lukasz Majewski
lukma at denx.de
Thu May 16 14:01:35 UTC 2019
This commit makes the CMD_SPL_NAND_OFS only visible when we use NAND
memory.
Before this change it was present when only CMD_SPL was enabled (and
would stay when board with other falcon boot medium is used).
Signed-off-by: Lukasz Majewski <lukma at denx.de>
---
Changes in v2: None
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0d36da2a5c..7bc275f135 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -327,6 +327,7 @@ config CMD_SPL
config CMD_SPL_NAND_OFS
hex "Offset of OS command line args for Falcon-mode NAND boot"
depends on CMD_SPL
+ depends on CMD_SPL && (TPL_NAND_SUPPORT || SPL_NAND_SUPPORT)
default 0
help
This provides the offset of the command line arguments for Linux
--
2.11.0
More information about the U-Boot
mailing list