diff mbox series

[U-Boot,v1,13/15] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset

Message ID 20190119091528.11776-14-lukma@denx.de
State Changes Requested
Delegated to: Stefano Babic
Headers show
Series imx: dm: Update mccmon6 board to only use DM/DTS in u-boot proper | expand

Commit Message

Lukasz Majewski Jan. 19, 2019, 9:15 a.m. UTC
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 <lukma@denx.de>
---

 cmd/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index f9a668b80f..e37d28e86a 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -323,6 +323,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