Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76940?usp=email )
Change subject: payloads/libpayload: Remove ARCH_SPECIFIC_OPTIONS ......................................................................
payloads/libpayload: Remove ARCH_SPECIFIC_OPTIONS
Remove dummy ARCH_SPECIFIC_OPTIONS.
Change-Id: Ia71021b8597b1d6a227292b6568351e994ad62b0 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M payloads/libpayload/Kconfig D payloads/libpayload/arch/arm/Kconfig M payloads/libpayload/arch/arm64/Kconfig M payloads/libpayload/arch/mock/Kconfig M payloads/libpayload/arch/x86/Kconfig 5 files changed, 6 insertions(+), 49 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/76940/1
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index 128c7da..6e6c45c 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -108,21 +108,27 @@
config ARCH_ARM bool "ARM" + select LITTLE_ENDIAN help Support the ARM architecture
config ARCH_X86 bool "x86" + select LITTLE_ENDIAN + select IO_ADDRESS_SPACE help Support the x86 architecture
config ARCH_ARM64 bool "ARM64" + select LITTLE_ENDIAN help Support the ARM64 architecture
config ARCH_MOCK bool "Mock architecture (for unit tests)" + select LITTLE_ENDIAN if !ARCH_MOCK_BIG_ENDIAN + select BIG_ENDIAN if ARCH_MOCK_BIG_ENDIAN help This enables the mock architecture (for unit tests) that is intended to be used for testing purposes, to either test payloads or libpayload itself. diff --git a/payloads/libpayload/arch/arm/Kconfig b/payloads/libpayload/arch/arm/Kconfig deleted file mode 100644 index acaf167..0000000 --- a/payloads/libpayload/arch/arm/Kconfig +++ /dev/null @@ -1,35 +0,0 @@ -## -## -## Copyright (c) 2012 Google Inc. -## -## Redistribution and use in source and binary forms, with or without -## modification, are permitted provided that the following conditions -## are met: -## 1. Redistributions of source code must retain the above copyright -## notice, this list of conditions and the following disclaimer. -## 2. Redistributions in binary form must reproduce the above copyright -## notice, this list of conditions and the following disclaimer in the -## documentation and/or other materials provided with the distribution. -## 3. The name of the author may not be used to endorse or promote products -## derived from this software without specific prior written permission. -## -## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -## SUCH DAMAGE. -## - -if ARCH_ARM - -config ARCH_SPECIFIC_OPTIONS - def_bool y - select LITTLE_ENDIAN - -endif diff --git a/payloads/libpayload/arch/arm64/Kconfig b/payloads/libpayload/arch/arm64/Kconfig index 18f3770..ba190c2 100644 --- a/payloads/libpayload/arch/arm64/Kconfig +++ b/payloads/libpayload/arch/arm64/Kconfig @@ -28,10 +28,6 @@
if ARCH_ARM64
-config ARCH_SPECIFIC_OPTIONS - def_bool y - select LITTLE_ENDIAN - 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 3903a76..12d5cd3 100644 --- a/payloads/libpayload/arch/mock/Kconfig +++ b/payloads/libpayload/arch/mock/Kconfig @@ -8,9 +8,4 @@ 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 f590d58..055077e 100644 --- a/payloads/libpayload/arch/x86/Kconfig +++ b/payloads/libpayload/arch/x86/Kconfig @@ -28,11 +28,6 @@
if ARCH_X86
-config ARCH_SPECIFIC_OPTIONS - def_bool y - select LITTLE_ENDIAN - select IO_ADDRESS_SPACE - config ENABLE_APIC bool "Enables the Local APIC"