mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-15 06:26:07 +01:00
Move SUPPORT_BIG_ENDIAN, SUPPORT_LITTLE_ENDIAN to top-level arch Kconfig and let architectures select them as necessary. Remove if guard for Endianness selection choice so we can have one of SYS_BIG_ENDIAN, SYS_LITTLE_ENDIAN config symbol defined even on single endian system. Default endian to SYS_BIG_ENDIAN for MIPS || MICROBLAZE and LITTLE_ENDIAN for the rest to retain old config behaviour. Note: PPC, SH, Xtensa are technically bi-endian, but I checked compiled u-boot image with readelf, U-Boot currently only support little endian for SH and Xtensa, Big Endian for PPC. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
27 lines
426 B
Plaintext
27 lines
426 B
Plaintext
menu "Ingenic JZ47xx platforms"
|
|
depends on ARCH_JZ47XX
|
|
|
|
config SYS_SOC
|
|
default "jz47xx"
|
|
|
|
config SOC_JZ4780
|
|
bool
|
|
select SUPPORT_LITTLE_ENDIAN
|
|
select SUPPORTS_CPU_MIPS32_R1
|
|
select SUPPORTS_CPU_MIPS32_R2
|
|
help
|
|
Support for Ingenic JZ4780 family SoCs.
|
|
|
|
choice
|
|
prompt "Board select"
|
|
|
|
config TARGET_JZ4780_CI20
|
|
bool "Creator CI20 Reference Board"
|
|
select SOC_JZ4780
|
|
|
|
endchoice
|
|
|
|
source "board/imgtec/ci20/Kconfig"
|
|
|
|
endmenu
|