summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-31 21:08:23 -0400
committerTom Rini <trini@konsulko.com>2022-08-12 16:10:49 -0400
commit83505a7e9f8dd3e483d58f0519064bfac84e40a2 (patch)
tree474a90239a751aec6a74c69678b6463f3f1fe12a /arch/arc
parentd0748898d80287a5d57200e979fb97f63a22aee1 (diff)
downloadu-boot-83505a7e9f8dd3e483d58f0519064bfac84e40a2.tar.gz
u-boot-83505a7e9f8dd3e483d58f0519064bfac84e40a2.tar.bz2
u-boot-83505a7e9f8dd3e483d58f0519064bfac84e40a2.zip
arc: Move SYS_LITTLE_ENDIAN / SYS_BIG_ENDIAN selection to Kconfig
We can determine which of these we need given CPU_BIG_ENDIAN being enabled or not, so move that logic to Kconfig from config.mk. Cc: Alexey Brodkin <alexey.brodkin@synopsys.com> Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/config.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 118472b2d0..2b70945ac3 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -2,12 +2,6 @@
#
# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
-ifndef CONFIG_CPU_BIG_ENDIAN
-CONFIG_SYS_LITTLE_ENDIAN = 1
-else
-CONFIG_SYS_BIG_ENDIAN = 1
-endif
-
ifdef CONFIG_SYS_LITTLE_ENDIAN
KBUILD_LDFLAGS += -EL
PLATFORM_CPPFLAGS += -mlittle-endian