From 7cb179eef96990853f52fed80203c682f6fa4692 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Thu, 16 May 2019 16:01:35 +0200 Subject: 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 --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/Kconfig') 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 -- cgit v1.2.3 From f63c43b8defb75a9f97d4552f4993537759a39dd Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Thu, 16 May 2019 16:01:36 +0200 Subject: Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS The CMD_SPL_NAND_OFS description was a bit misleading, has been updated. Signed-off-by: Lukasz Majewski --- cmd/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/Kconfig') diff --git a/cmd/Kconfig b/cmd/Kconfig index ca6de5040a..d9d26e6521 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -325,8 +325,7 @@ config CMD_SPL command. config CMD_SPL_NAND_OFS - hex "Offset of OS command line args for Falcon-mode NAND boot" - depends on CMD_SPL + hex "Offset of OS args or dtb for Falcon-mode NAND boot" depends on CMD_SPL && (TPL_NAND_SUPPORT || SPL_NAND_SUPPORT) default 0 help -- cgit v1.2.3 From ef9e57d39991118e1630f5f4269bd6e504ac3a66 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Thu, 16 May 2019 16:01:37 +0200 Subject: Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset This option will provide the offset in the parallel NOR flash memory to, which the falcon boot data is stored. Signed-off-by: Lukasz Majewski --- cmd/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cmd/Kconfig') diff --git a/cmd/Kconfig b/cmd/Kconfig index d9d26e6521..a278ea309a 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -334,6 +334,14 @@ config CMD_SPL_NAND_OFS for full information about how to use this option (and also see board/gateworks/gw_ventana/README for an example). +config CMD_SPL_NOR_OFS + hex "Offset of OS args or dtb for Falcon-mode NOR boot" + depends on CMD_SPL && SPL_NOR_SUPPORT + default 0 + help + This provides the offset of the command line arguments or dtb for + Linux when booting from NOR in Falcon mode. + config CMD_SPL_WRITE_SIZE hex "Size of argument area" depends on CMD_SPL -- cgit v1.2.3