]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/config.mk
arc: add selection of endianess in Kconfig
[people/ms/u-boot.git] / arch / arc / config.mk
index dd180ef1874f57a5271e705418322604d178670c..4f2d31feb3e02ab772e70cfcd3c55682a84ddffb 100644 (file)
@@ -4,8 +4,10 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-ifndef CONFIG_SYS_BIG_ENDIAN
+ifndef CONFIG_CPU_BIG_ENDIAN
 CONFIG_SYS_LITTLE_ENDIAN = 1
+else
+CONFIG_SYS_BIG_ENDIAN = 1
 endif
 
 ifdef CONFIG_SYS_LITTLE_ENDIAN