From: Lukasz Majewski Date: Thu, 16 May 2019 15:33:29 +0200 Subject: [U-Boot] [PATCH v1 3/4] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset In-Reply-To: <20190516133330.30038-1-lukma@denx.de> References: <20190516133330.30038-1-lukma@denx.de> Message-ID: <20190516133330.30038-3-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 4dec190a38..b4b10cce00 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 -- 2.11.0