From: Andrew Davis <afd@ti.com>
To: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
<u-boot@lists.denx.de>
Cc: Andrew Davis <afd@ti.com>
Subject: [PATCH 2/2] ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE
Date: Tue, 25 Jul 2023 10:54:16 -0500 [thread overview]
Message-ID: <20230725155416.100678-2-afd@ti.com> (raw)
In-Reply-To: <20230725155416.100678-1-afd@ti.com>
These select/imply settings are common to the whole architecture not just
these boards, move these settings to the architecture config.
Signed-off-by: Andrew Davis <afd@ti.com>
---
arch/arm/Kconfig | 5 +++++
arch/arm/mach-keystone/Kconfig | 20 --------------------
2 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c019e56d404..a778edb7be4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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"
diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
index 94e6fe1f228..9bf71a9b453 100644
--- a/arch/arm/mach-keystone/Kconfig
+++ b/arch/arm/mach-keystone/Kconfig
@@ -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
--
2.39.2
next prev parent reply other threads:[~2023-07-25 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 15:54 [PATCH 1/2] ti: keystone2: Imply NFS command support Andrew Davis
2023-07-25 15:54 ` Andrew Davis [this message]
2023-07-25 17:41 ` [PATCH 2/2] ti: keystone2: Move common Kconfig selections to under ARCH_KEYSTONE Tom Rini
2024-02-08 19:37 ` Andrew Davis
2023-07-25 17:41 ` [PATCH 1/2] ti: keystone2: Imply NFS command support Tom Rini
2024-02-08 20:18 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230725155416.100678-2-afd@ti.com \
--to=afd@ti.com \
--cc=nm@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox