summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-02-10 16:33:39 +0100
committerJulius Werner <jwerner@chromium.org>2019-08-29 20:47:18 +0000
commitbd0a93fa28918b461eb178a5a25a27483d15d823 (patch)
tree23e5ba3e3079874b15f9d3954fbbf30ce92db7cc /src/arch
parenta1af2757b5c4f40a859b3b38262cb6d21a2b0926 (diff)
downloadcoreboot-bd0a93fa28918b461eb178a5a25a27483d15d823.tar.xz
arch/arm: Make ARM stages select ARCH_ARM
This removes the need to select ARCH_ARM in SOC Kconfig Also don't define the default as this result in spurious lines in the .config. Change-Id: I1ed4a71599641db606510e5304b9f0acf9b7eb88 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31313 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/Kconfig8
-rw-r--r--src/arch/arm/armv4/Kconfig8
-rw-r--r--src/arch/arm/armv7/Kconfig22
3 files changed, 19 insertions, 19 deletions
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index 6d9cc7820a..47c333bf6a 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -1,24 +1,22 @@
config ARCH_ARM
bool
- default n
config ARCH_BOOTBLOCK_ARM
bool
- default n
select ARCH_ARM
select C_ENVIRONMENT_BOOTBLOCK
config ARCH_VERSTAGE_ARM
bool
- default n
+ select ARCH_ARM
config ARCH_ROMSTAGE_ARM
bool
- default n
+ select ARCH_ARM
config ARCH_RAMSTAGE_ARM
bool
- default n
+ select ARCH_ARM
source src/arch/arm/armv4/Kconfig
source src/arch/arm/armv7/Kconfig
diff --git a/src/arch/arm/armv4/Kconfig b/src/arch/arm/armv4/Kconfig
index aa5fab9bcd..0b501657a4 100644
--- a/src/arch/arm/armv4/Kconfig
+++ b/src/arch/arm/armv4/Kconfig
@@ -1,15 +1,15 @@
config ARCH_BOOTBLOCK_ARMV4
- def_bool n
+ bool
select ARCH_BOOTBLOCK_ARM
config ARCH_VERSTAGE_ARMV4
- def_bool n
+ bool
select ARCH_VERSTAGE_ARM
config ARCH_ROMSTAGE_ARMV4
- def_bool n
+ bool
select ARCH_ROMSTAGE_ARM
config ARCH_RAMSTAGE_ARMV4
- def_bool n
+ bool
select ARCH_RAMSTAGE_ARM
diff --git a/src/arch/arm/armv7/Kconfig b/src/arch/arm/armv7/Kconfig
index 3734426c0f..6d5fb9ee71 100644
--- a/src/arch/arm/armv7/Kconfig
+++ b/src/arch/arm/armv7/Kconfig
@@ -1,37 +1,39 @@
config ARCH_BOOTBLOCK_ARMV7
- def_bool n
+ bool
select ARCH_BOOTBLOCK_ARM
config ARCH_VERSTAGE_ARMV7
- def_bool n
+ bool
select ARCH_VERSTAGE_ARM
config ARCH_ROMSTAGE_ARMV7
- def_bool n
+ bool
select ARCH_ROMSTAGE_ARM
config ARCH_RAMSTAGE_ARMV7
- def_bool n
+ bool
select ARCH_RAMSTAGE_ARM
+
config ARCH_BOOTBLOCK_ARMV7_M
- def_bool n
+ bool
select ARCH_BOOTBLOCK_ARM
+
config ARCH_VERSTAGE_ARMV7_M
- def_bool n
+ bool
select ARCH_VERSTAGE_ARM
config ARCH_BOOTBLOCK_ARMV7_R
- def_bool n
+ bool
select ARCH_BOOTBLOCK_ARM
config ARCH_VERSTAGE_ARMV7_R
- def_bool n
+ bool
select ARCH_VERSTAGE_ARM
config ARCH_ROMSTAGE_ARMV7_R
- def_bool n
+ bool
select ARCH_ROMSTAGE_ARM
config ARCH_RAMSTAGE_ARMV7_R
- def_bool n
+ bool
select ARCH_RAMSTAGE_ARM