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') diff --git a/cmd/Kconfig b/cmd/Kconfig index 175c6ad..ca6de50 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.1 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') diff --git a/cmd/Kconfig b/cmd/Kconfig index ca6de50..d9d26e6 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.1 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') diff --git a/cmd/Kconfig b/cmd/Kconfig index d9d26e6..a278ea3 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.1 From 35087fb4e0874c19cfef3e698f249befa97eae55 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Sun, 9 Jun 2019 22:54:38 +0200 Subject: cosmetic: Update comment in cmd/eeprom.c This commit just corrects spelling of 'accessed' word in the EEPROM comment. Signed-off-by: Lukasz Majewski Reviewed-by: Peng Fan --- cmd/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/eeprom.c b/cmd/eeprom.c index 7b1f814..19953df 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -108,7 +108,7 @@ static int eeprom_len(unsigned offset, unsigned end) /* * For a FRAM device there is no limit on the number of the - * bytes that can be ccessed with the single read or write + * bytes that can be accessed with the single read or write * operation. */ #if !defined(CONFIG_SYS_I2C_FRAM) -- cgit v1.1