MIPS: loongson32: Switch to generic core
The generic MIPS core is fully compatible with Loongson-1 SoCs,
so migrate Loongson-1 to it.
Main changes are:
- Merge CPU_LOONGSON1B and CPU_LOONGSON1C into a unified CPU_LOONGSON32,
as both are based on the GS232 core.
- Consolidate LOONGSON1_LS1B and LOONGSON1_LS1C Kconfig options into
MACH_LOONGSON32.
- Enable MACH_GENERIC_CORE and remove the legacy custom implementation.
- Remove all Loongson-1 platform devices and associated code,
which are now obsolete due to Device Tree support.
- Misc cleanup.
Partially based on earlier work by Jiaxun Yang.
Link: https://lore.kernel.org/all/20190411121915.8040-4-jiaxun.yang@flygoat.com/
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
authored by