summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-05-16 17:01:35 +0300
committerStefano Babic <sbabic@denx.de>2019-07-19 21:14:50 +0300
commit7cb179eef96990853f52fed80203c682f6fa4692 (patch)
tree82344eacd0b6a7149cb24c913bc045f71773e0fe /cmd/Kconfig
parent917964cbbede7cf1568ef74ab71a541b07dae183 (diff)
downloadu-boot-7cb179eef96990853f52fed80203c682f6fa4692.tar.xz
Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used
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@denx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 175c6ad9e3..ca6de5040a 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