source "arch/riscv/Kconfig"
source "board/keymile/Kconfig"
+
+if MIPS
+
+choice
+ prompt "Endianness selection"
+ help
+ Some MIPS boards can be configured for either little or big endian
+ byte order. These modes require different U-Boot images. In general there
+ is one preferred byteorder for a particular system but some systems are
+ just as commonly used in the one or the other endianness.
+
+config SYS_BIG_ENDIAN
+ bool "Big endian"
+ depends on SUPPORTS_BIG_ENDIAN
+
+config SYS_LITTLE_ENDIAN
+ bool "Little endian"
+ depends on SUPPORTS_LITTLE_ENDIAN
+
+endchoice
+
+endif
if MIPS
-choice
- prompt "Endianness selection"
- help
- Some MIPS boards can be configured for either little or big endian
- byte order. These modes require different U-Boot images. In general there
- is one preferred byteorder for a particular system but some systems are
- just as commonly used in the one or the other endianness.
-
-config SYS_BIG_ENDIAN
- bool "Big endian"
- depends on SUPPORTS_BIG_ENDIAN
-
-config SYS_LITTLE_ENDIAN
- bool "Little endian"
- depends on SUPPORTS_LITTLE_ENDIAN
-
-endchoice
-
choice
prompt "CPU selection"
default CPU_MIPS32_R2