Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

The 32-bit support was broken at runtime, it doesn't boot anymore,
witch is hard to debug because even early printk isn't working, also
there are some build warnings. Some newer bootloader may not support
32-bit ELF. So we decide to drop 32-bit support.

Make loongson64 a pure 64-bit arch.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18174/
Signed-off-by: James Hogan <jhogan@kernel.org>

authored by

Jiaxun Yang and committed by
James Hogan
8d2b6f1f 590c1f0f

-2
-2
arch/mips/loongson64/Kconfig
··· 17 17 select I8259 18 18 select ISA 19 19 select IRQ_MIPS_CPU 20 - select SYS_SUPPORTS_32BIT_KERNEL 21 20 select SYS_SUPPORTS_64BIT_KERNEL 22 21 select SYS_SUPPORTS_LITTLE_ENDIAN 23 22 select SYS_SUPPORTS_HIGHMEM ··· 48 49 select ISA 49 50 select SYS_HAS_CPU_LOONGSON2F 50 51 select SYS_HAS_EARLY_PRINTK 51 - select SYS_SUPPORTS_32BIT_KERNEL 52 52 select SYS_SUPPORTS_64BIT_KERNEL 53 53 select SYS_SUPPORTS_HIGHMEM 54 54 select SYS_SUPPORTS_LITTLE_ENDIAN