| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
if ECONET |
| 3 |
|
| 4 |
choice |
| 5 |
prompt "EcoNet SoC selection" |
| 6 |
default SOC_ECONET_EN751221 |
| 7 |
help |
| 8 |
Select EcoNet MIPS SoC type. Individual SoCs within a family are |
| 9 |
very similar, so is it enough to select the right family, and |
| 10 |
then customize to the specific SoC using the device tree only. |
| 11 |
|
| 12 |
config SOC_ECONET_EN751221 |
| 13 |
bool "EN751221 family" |
| 14 |
select COMMON_CLK |
| 15 |
select ECONET_EN751221_INTC |
| 16 |
select IRQ_MIPS_CPU |
| 17 |
select SMP |
| 18 |
select SMP_UP |
| 19 |
select SYS_SUPPORTS_SMP |
| 20 |
help |
| 21 |
The EN751221 family includes EN7512, RN7513, EN7521, EN7526. |
| 22 |
They are based on single core MIPS 34Kc processors. To boot |
| 23 |
this kernel, you will need a device tree such as |
| 24 |
MIPS_RAW_APPENDED_DTB=y, and a root filesystem. |
| 25 |
endchoice |
| 26 |
|
| 27 |
choice |
| 28 |
prompt "Devicetree selection" |
| 29 |
default DTB_ECONET_NONE |
| 30 |
help |
| 31 |
Select the devicetree. |
| 32 |
|
| 33 |
config DTB_ECONET_NONE |
| 34 |
bool "None" |
| 35 |
|
| 36 |
config DTB_ECONET_SMARTFIBER_XP8421_B |
| 37 |
bool "EN751221 SmartFiber XP8421-B" |
| 38 |
depends on SOC_ECONET_EN751221 |
| 39 |
select BUILTIN_DTB |
| 40 |
help |
| 41 |
The SmartFiber XP8421-B is a device based on the EN751221 SoC. |
| 42 |
It has 512MB of memory and 256MB of NAND flash. This kernel |
| 43 |
needs only an appended initramfs to boot. It can be loaded |
| 44 |
through XMODEM and booted from memory in the bootloader, or |
| 45 |
it can be packed in tclinux.trx format and written to flash. |
| 46 |
endchoice |
| 47 |
|
| 48 |
endif |