mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
EN751221 is a 34Kc so it has two VPEs (threads) but MIPS_SMP_MT
requires VEIC to be enabled in the interrupt controller, which only
became supported in
commit 2ee2a685ee ("irqchip/econet-en751221: Support MIPS 34Kc VEIC mode")
Register SMP_MT on startup and override init_secondary with CPU
interrupt unmasking as required by the EN751221 VEIC intc hardware.
Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
if ECONET
|
|
|
|
choice
|
|
prompt "EcoNet SoC selection"
|
|
default SOC_ECONET_EN751221
|
|
help
|
|
Select EcoNet MIPS SoC type. Individual SoCs within a family are
|
|
very similar, so is it enough to select the right family, and
|
|
then customize to the specific SoC using the device tree only.
|
|
|
|
config SOC_ECONET_EN751221
|
|
bool "EN751221 family"
|
|
select COMMON_CLK
|
|
select ECONET_EN751221_INTC
|
|
select HAVE_PCI
|
|
select IRQ_MIPS_CPU
|
|
select PCI_DRIVERS_GENERIC
|
|
select SYS_SUPPORTS_MULTITHREADING
|
|
help
|
|
The EN751221 family includes EN7512, RN7513, EN7521, EN7526.
|
|
They are based on single core MIPS 34Kc processors. To boot
|
|
this kernel, you will need a device tree such as
|
|
MIPS_RAW_APPENDED_DTB=y, and a root filesystem.
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Devicetree selection"
|
|
default DTB_ECONET_NONE
|
|
help
|
|
Select the devicetree.
|
|
|
|
config DTB_ECONET_NONE
|
|
bool "None"
|
|
|
|
config DTB_ECONET_SMARTFIBER_XP8421_B
|
|
bool "EN751221 SmartFiber XP8421-B"
|
|
depends on SOC_ECONET_EN751221
|
|
select BUILTIN_DTB
|
|
help
|
|
The SmartFiber XP8421-B is a device based on the EN751221 SoC.
|
|
It has 512MB of memory and 256MB of NAND flash. This kernel
|
|
needs only an appended initramfs to boot. It can be loaded
|
|
through XMODEM and booted from memory in the bootloader, or
|
|
it can be packed in tclinux.trx format and written to flash.
|
|
endchoice
|
|
|
|
endif
|