diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2024-07-17 16:07:02 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-31 11:18:37 -0600 |
commit | cbef295441b41541a5cf7c3a6e1d6bd88b48a0ed (patch) | |
tree | 0ba02759a76e26c1648ad4ed7305db6e92bf7251 /arch/mips/mach-pic32 | |
parent | 902d8ee94ce29a088a325da6e69eeb1a25f1fec7 (diff) | |
download | u-boot-cbef295441b41541a5cf7c3a6e1d6bd88b48a0ed.tar.gz u-boot-cbef295441b41541a5cf7c3a6e1d6bd88b48a0ed.tar.bz2 u-boot-cbef295441b41541a5cf7c3a6e1d6bd88b48a0ed.zip |
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>
Diffstat (limited to 'arch/mips/mach-pic32')
-rw-r--r-- | arch/mips/mach-pic32/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-pic32/Kconfig b/arch/mips/mach-pic32/Kconfig index 2afa972074..52d2eec0a7 100644 --- a/arch/mips/mach-pic32/Kconfig +++ b/arch/mips/mach-pic32/Kconfig @@ -13,7 +13,7 @@ config SOC_PIC32MZDA select ROM_EXCEPTION_VECTORS select SUPPORTS_CPU_MIPS32_R1 select SUPPORTS_CPU_MIPS32_R2 - select SUPPORTS_LITTLE_ENDIAN + select SUPPORT_LITTLE_ENDIAN select SYS_MIPS_CACHE_INIT_RAM_LOAD help This supports Microchip PIC32MZ[DA] family of microcontrollers. |