mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
ARM: tegra: refactor common Kconfig options
This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or architectures. The lists of select statements are now also sorted for easy searching. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7030f27ef3
commit
15bcc62d53
1 changed files with 20 additions and 18 deletions
|
@ -1,18 +1,27 @@
|
||||||
if TEGRA
|
if TEGRA
|
||||||
|
|
||||||
config TEGRA_ARMV7_COMMON
|
config TEGRA_COMMON
|
||||||
bool "Tegra 32-bit"
|
bool "Tegra common options"
|
||||||
select SUPPORT_SPL
|
|
||||||
select SPL
|
|
||||||
select OF_CONTROL
|
|
||||||
select CPU_V7
|
|
||||||
select DM
|
select DM
|
||||||
select DM_SPI_FLASH
|
|
||||||
select DM_SERIAL
|
|
||||||
select DM_I2C
|
|
||||||
select DM_SPI
|
|
||||||
select DM_GPIO
|
select DM_GPIO
|
||||||
|
select DM_I2C
|
||||||
select DM_KEYBOARD
|
select DM_KEYBOARD
|
||||||
|
select DM_SERIAL
|
||||||
|
select DM_SPI
|
||||||
|
select DM_SPI_FLASH
|
||||||
|
select OF_CONTROL
|
||||||
|
|
||||||
|
config TEGRA_ARMV7_COMMON
|
||||||
|
bool "Tegra 32-bit common options"
|
||||||
|
select CPU_V7
|
||||||
|
select SPL
|
||||||
|
select SUPPORT_SPL
|
||||||
|
select TEGRA_COMMON
|
||||||
|
|
||||||
|
config TEGRA_ARMV8_COMMON
|
||||||
|
bool "Tegra 64-bit common options"
|
||||||
|
select ARM64
|
||||||
|
select TEGRA_COMMON
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Tegra SoC select"
|
prompt "Tegra SoC select"
|
||||||
|
@ -36,14 +45,7 @@ config TEGRA124
|
||||||
|
|
||||||
config TEGRA210
|
config TEGRA210
|
||||||
bool "Tegra210 family"
|
bool "Tegra210 family"
|
||||||
select OF_CONTROL
|
select TEGRA_ARMV8_COMMON
|
||||||
select ARM64
|
|
||||||
select DM
|
|
||||||
select DM_SPI_FLASH
|
|
||||||
select DM_SERIAL
|
|
||||||
select DM_I2C
|
|
||||||
select DM_SPI
|
|
||||||
select DM_GPIO
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue