summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-12 08:01:10 +0200
committerMartin L Roth <gaumless@gmail.com>2023-08-20 18:41:23 +0000
commit5a303b219427a908a06d9f9701d1d3e0f6f8b705 (patch)
tree71f0d3284c2f58e681a333bc99a6dfaba8ecfbf0 /payloads
parent0ace876a741b063a7c3745f2ff96d61787927114 (diff)
payloads/libpayload: Remove ARCH_SPECIFIC_OPTIONS
Remove dummy ARCH_SPECIFIC_OPTIONS. Change-Id: Ia71021b8597b1d6a227292b6568351e994ad62b0 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76940 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/arch/arm/Kconfig7
-rw-r--r--payloads/libpayload/arch/arm64/Kconfig7
-rw-r--r--payloads/libpayload/arch/mock/Kconfig9
-rw-r--r--payloads/libpayload/arch/x86/Kconfig7
4 files changed, 11 insertions, 19 deletions
diff --git a/payloads/libpayload/arch/arm/Kconfig b/payloads/libpayload/arch/arm/Kconfig
index acaf167d5d..8e2f41ade3 100644
--- a/payloads/libpayload/arch/arm/Kconfig
+++ b/payloads/libpayload/arch/arm/Kconfig
@@ -26,10 +26,5 @@
## SUCH DAMAGE.
##
-if ARCH_ARM
-
-config ARCH_SPECIFIC_OPTIONS
- def_bool y
+config ARCH_ARM
select LITTLE_ENDIAN
-
-endif
diff --git a/payloads/libpayload/arch/arm64/Kconfig b/payloads/libpayload/arch/arm64/Kconfig
index 18f37706fe..e354d884ea 100644
--- a/payloads/libpayload/arch/arm64/Kconfig
+++ b/payloads/libpayload/arch/arm64/Kconfig
@@ -26,12 +26,11 @@
## SUCH DAMAGE.
##
-if ARCH_ARM64
-
-config ARCH_SPECIFIC_OPTIONS
- def_bool y
+config ARCH_ARM64
select LITTLE_ENDIAN
+if ARCH_ARM64
+
config ARM64_A53_ERRATUM_843419
bool "Enable Cortex-A53 erratum 843419 linker workaround"
default n
diff --git a/payloads/libpayload/arch/mock/Kconfig b/payloads/libpayload/arch/mock/Kconfig
index 3903a76005..030f310337 100644
--- a/payloads/libpayload/arch/mock/Kconfig
+++ b/payloads/libpayload/arch/mock/Kconfig
@@ -1,5 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-only
+config ARCH_MOCK
+ select LITTLE_ENDIAN if !ARCH_MOCK_BIG_ENDIAN
+ select BIG_ENDIAN if ARCH_MOCK_BIG_ENDIAN
+
if ARCH_MOCK
config ARCH_MOCK_BIG_ENDIAN
@@ -8,9 +12,4 @@ config ARCH_MOCK_BIG_ENDIAN
help
This option enables big-endinan support in the code.
-config ARCH_SPECIFIC_OPTIONS
- def_bool y
- select LITTLE_ENDIAN if !ARCH_MOCK_BIG_ENDIAN
- select BIG_ENDIAN if ARCH_MOCK_BIG_ENDIAN
-
endif
diff --git a/payloads/libpayload/arch/x86/Kconfig b/payloads/libpayload/arch/x86/Kconfig
index f590d58326..37a5a696c0 100644
--- a/payloads/libpayload/arch/x86/Kconfig
+++ b/payloads/libpayload/arch/x86/Kconfig
@@ -26,13 +26,12 @@
## SUCH DAMAGE.
##
-if ARCH_X86
-
-config ARCH_SPECIFIC_OPTIONS
- def_bool y
+config ARCH_X86
select LITTLE_ENDIAN
select IO_ADDRESS_SPACE
+if ARCH_X86
+
config ENABLE_APIC
bool "Enables the Local APIC"