summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/mock/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/mock/Kconfig')
-rw-r--r--payloads/libpayload/arch/mock/Kconfig9
1 files changed, 4 insertions, 5 deletions
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