Skip to contentSkip to conversation

ti: keystone2: Imply NFS command support

PATCH In review Andrew Davis 2 participants 6 messages Jul 25, 2023 – Feb 8, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ti: keystone2: Imply NFS command support

TI KS2 boards have the nfs command in their common environment boot configuration, enable this command.

---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index bdd535fd73f..c019e56d404 100644
@@ -790,6 +790,7 @@ config ARCH_KEYSTONE
 	select SYS_ARCH_TIMER
 	select SYS_THUMB_BUILD
 	imply CMD_MTDPARTS
+	imply CMD_NFS
 	imply CMD_SAVES
 	imply FIT
 
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE

These select/imply settings are common to the whole architecture not just these boards, move these settings to the architecture config.

---
 arch/arm/Kconfig               |  5 +++++
 arch/arm/mach-keystone/Kconfig | 20 --------------------
 2 files changed, 5 insertions(+), 20 deletions(-)
arch/arm/Kconfig +5 -0
index c019e56d404..a778edb7be4 100644
@@ -783,16 +783,21 @@ config ARCH_IPQ40XX
 
 config ARCH_KEYSTONE
 	bool "TI Keystone"
+	select CMD_DDR3
 	select CMD_POWEROFF
 	select CPU_V7A
 	select DDR_SPD
+	select SPL_BOARD_INIT if SPL
 	select SUPPORT_SPL
 	select SYS_ARCH_TIMER
 	select SYS_THUMB_BUILD
 	imply CMD_MTDPARTS
 	imply CMD_NFS
 	imply CMD_SAVES
+	imply DM_I2C
 	imply FIT
+	imply SOC_TI
+	imply TI_KEYSTONE_SERDES
 
 config ARCH_K3
 	bool "Texas Instruments' K3 Architecture"
arch/arm/mach-keystone/Kconfig +0 -20
index 94e6fe1f228..9bf71a9b453 100644
@@ -7,40 +7,20 @@ choice
 config TARGET_K2HK_EVM
 	bool "TI Keystone 2 Kepler/Hawking EVM"
 	select SOC_K2HK
-	select SPL_BOARD_INIT if SPL
-	select CMD_DDR3
-	imply DM_I2C
-	imply SOC_TI
-	imply TI_KEYSTONE_SERDES
 
 config TARGET_K2E_EVM
 	bool "TI Keystone 2 Edison EVM"
 	select SOC_K2E
-	select SPL_BOARD_INIT if SPL
-	select CMD_DDR3
-	imply DM_I2C
-	imply SOC_TI
-	imply TI_KEYSTONE_SERDES
 
 config TARGET_K2L_EVM
 	bool "TI Keystone 2 Lamar EVM"
 	select SOC_K2L
-	select SPL_BOARD_INIT if SPL
-	select CMD_DDR3
-	imply DM_I2C
-	imply SOC_TI
-	imply TI_KEYSTONE_SERDES
 
 config TARGET_K2G_EVM
 	bool "TI Keystone 2 Galileo EVM"
         select BOARD_LATE_INIT
 	select SOC_K2G
-	select SPL_BOARD_INIT if SPL
         select TI_I2C_BOARD_DETECT
-	select CMD_DDR3
-	imply DM_I2C
-	imply SOC_TI
-	imply TI_KEYSTONE_SERDES
 
 endchoice
 
Signature · 1 line
2.39.2
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE

Quoted 4 lines · Andrew Davis

These select/imply settings are common to the whole architecture not just these boards, move these settings to the architecture config.

Signature · 1 line
Tom
#3 lore raw

Re: [PATCH 2/2] ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE

Quoted 9 lines · Tom Rini
Quoted 4 lines · Andrew Davis

These select/imply settings are common to the whole architecture not just these boards, move these settings to the architecture config.

ping

#5 lore raw
In reply to Andrew Davis
Quoted 4 lines · Andrew Davis

TI KS2 boards have the nfs command in their common environment boot configuration, enable this command.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom