ramips: introduce ramips_soc_prom_init and move SoC detection into that
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / Kconfig
1 if MIPS_RALINK
2
3 choice
4 prompt "Ralink SoC selection"
5 default SOC_RT288X
6 help
7 Select Ralink MIPS SoC type.
8
9 config RALINK_RT288X
10 bool "RT288x"
11 select SOC_RT288X
12
13 config RALINK_RT305X
14 bool "RT305x"
15 select SOC_RT305X
16
17 config RALINK_RT3883
18 bool "RT3883"
19 select SOC_RT3883
20
21 endchoice
22
23 source "arch/mips/ralink/rt288x/Kconfig"
24 source "arch/mips/ralink/rt305x/Kconfig"
25 source "arch/mips/ralink/rt3883/Kconfig"
26
27 config SOC_RT288X
28 bool
29 select CEVT_R4K
30 select CSRC_R4K
31 select DMA_NONCOHERENT
32 select IRQ_CPU
33 select ARCH_REQUIRE_GPIOLIB
34 select SYS_HAS_CPU_MIPS32_R1
35 select SYS_HAS_CPU_MIPS32_R2
36 select SYS_SUPPORTS_32BIT_KERNEL
37 select SYS_SUPPORTS_LITTLE_ENDIAN
38 select SYS_HAS_EARLY_PRINTK
39 select MIPS_MACHINE
40
41 config SOC_RT305X
42 bool
43 select CEVT_R4K
44 select CSRC_R4K
45 select DMA_NONCOHERENT
46 select IRQ_CPU
47 select ARCH_REQUIRE_GPIOLIB
48 select SYS_HAS_CPU_MIPS32_R1
49 select SYS_HAS_CPU_MIPS32_R2
50 select SYS_SUPPORTS_32BIT_KERNEL
51 select SYS_SUPPORTS_LITTLE_ENDIAN
52 select SYS_HAS_EARLY_PRINTK
53 select MIPS_MACHINE
54 select USB_ARCH_HAS_HCD
55
56 config SOC_RT3883
57 bool
58 select CEVT_R4K
59 select CSRC_R4K
60 select DMA_NONCOHERENT
61 select IRQ_CPU
62 select ARCH_REQUIRE_GPIOLIB
63 select SYS_HAS_CPU_MIPS32_R1
64 select SYS_HAS_CPU_MIPS32_R2
65 select SYS_SUPPORTS_32BIT_KERNEL
66 select SYS_SUPPORTS_LITTLE_ENDIAN
67 select SYS_HAS_EARLY_PRINTK
68 select MIPS_MACHINE
69 select USB_ARCH_HAS_OHCI
70 select USB_ARCH_HAS_EHCI
71
72 config RALINK_DEV_GPIO_BUTTONS
73 def_bool n
74
75 config RALINK_DEV_GPIO_LEDS
76 def_bool n
77
78 endif
This page took 0.048634 seconds and 5 git commands to generate.