Jiaxun Yang cbef295441 Kconfig: Unify endian support option
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>
2024-07-31 11:18:37 -06:00

37 lines
721 B
Plaintext

menu "Microchip PIC32 platforms"
depends on MACH_PIC32
config SYS_SOC
default "pic32mzda" if SOC_PIC32MZDA
choice
prompt "PIC32 SoC select"
config SOC_PIC32MZDA
bool "Microchip PIC32MZ[DA] family"
select SYS_CACHE_SHIFT_4
select ROM_EXCEPTION_VECTORS
select SUPPORTS_CPU_MIPS32_R1
select SUPPORTS_CPU_MIPS32_R2
select SUPPORT_LITTLE_ENDIAN
select SYS_MIPS_CACHE_INIT_RAM_LOAD
help
This supports Microchip PIC32MZ[DA] family of microcontrollers.
endchoice
choice
prompt "Board select"
config TARGET_PIC32MZDASK
bool "Microchip PIC32MZ[DA] Starter Kit"
depends on SOC_PIC32MZDA
help
This supports Microchip PIC32MZ[DA] Starter Kit.
endchoice
source "board/microchip/pic32mzda/Kconfig"
endmenu