All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used
@ 2019-05-16 13:33 Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 2/4] Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS Lukasz Majewski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lukasz Majewski @ 2019-05-16 13:33 UTC (permalink / raw)
  To: u-boot

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>
---

 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0d36da2a5c..7bc275f135 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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH v1 2/4] Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS
  2019-05-16 13:33 [U-Boot] [PATCH v1 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used Lukasz Majewski
@ 2019-05-16 13:33 ` Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 3/4] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon Lukasz Majewski
  2 siblings, 0 replies; 5+ messages in thread
From: Lukasz Majewski @ 2019-05-16 13:33 UTC (permalink / raw)
  To: u-boot

The CMD_SPL_NAND_OFS description was a bit misleading, has
been updated.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

 cmd/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7bc275f135..4dec190a38 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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH v1 3/4] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset
  2019-05-16 13:33 [U-Boot] [PATCH v1 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 2/4] Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS Lukasz Majewski
@ 2019-05-16 13:33 ` Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon Lukasz Majewski
  2 siblings, 0 replies; 5+ messages in thread
From: Lukasz Majewski @ 2019-05-16 13:33 UTC (permalink / raw)
  To: u-boot

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 --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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon
  2019-05-16 13:33 [U-Boot] [PATCH v1 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 2/4] Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS Lukasz Majewski
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 3/4] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset Lukasz Majewski
@ 2019-05-16 13:33 ` Lukasz Majewski
  2019-05-16 13:37   ` Fabio Estevam
  2 siblings, 1 reply; 5+ messages in thread
From: Lukasz Majewski @ 2019-05-16 13:33 UTC (permalink / raw)
  To: u-boot

This commit updates the doc/README.falcon regarding Falcon boot on
NOR flash memories.

Signed-off-by: Lukasz Majewski <lukma@denx.de>

---

 doc/README.falcon | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/README.falcon b/doc/README.falcon
index 9a7f0bc235..204f4b12b6 100644
--- a/doc/README.falcon
+++ b/doc/README.falcon
@@ -67,6 +67,9 @@ CONFIG_SYS_NAND_SPL_KERNEL_OFFS	Offset in NAND where the kernel is stored
 
 CONFIG_CMD_SPL_NAND_OFS	Offset in NAND where the parameters area was saved.
 
+CONFIG_CMD_SPL_NOR_OFS	Offset in NOR where the parameters area was saved.
+			(Please refer to MCCMON6 board's configuraiton)
+
 CONFIG_CMD_SPL_WRITE_SIZE 	Size of the parameters area to be copied
 
 CONFIG_SPL_OS_BOOT	Activate Falcon Mode.
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon
  2019-05-16 13:33 ` [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon Lukasz Majewski
@ 2019-05-16 13:37   ` Fabio Estevam
  0 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2019-05-16 13:37 UTC (permalink / raw)
  To: u-boot

On Thu, May 16, 2019 at 10:33 AM Lukasz Majewski <lukma@denx.de> wrote:

>  CONFIG_CMD_SPL_NAND_OFS        Offset in NAND where the parameters area was saved.
>
> +CONFIG_CMD_SPL_NOR_OFS Offset in NOR where the parameters area was saved.
> +                       (Please refer to MCCMON6 board's configuraiton)

Typo: configuration.

Also, it is not very obvious for the reader where the MCCMON6 board
configuration is located.

It would be easier to explicitly mention configs/mccmon6_nor_defconfig
as an example.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-16 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 13:33 [U-Boot] [PATCH v1 1/4] Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used Lukasz Majewski
2019-05-16 13:33 ` [U-Boot] [PATCH v1 2/4] Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS Lukasz Majewski
2019-05-16 13:33 ` [U-Boot] [PATCH v1 3/4] Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset Lukasz Majewski
2019-05-16 13:33 ` [U-Boot] [PATCH v1 4/4] doc: Update parallel NOR flash related information in README.falcon Lukasz Majewski
2019-05-16 13:37   ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.