111 lines
1.6 KiB
Plaintext
111 lines
1.6 KiB
Plaintext
|
|
if RALINK_MT7621
|
|
|
|
choice
|
|
prompt "Soc Hardware Type"
|
|
default MT7621_ASIC
|
|
|
|
config MT7621_ASIC
|
|
bool "MT7621-ASIC"
|
|
endchoice
|
|
|
|
config PCIE_PORT0
|
|
bool "PCIe Port0 support"
|
|
default y
|
|
|
|
config PCIE_PORT1
|
|
bool "PCIe Port1 support"
|
|
default n
|
|
|
|
config PCIE_PORT2
|
|
bool "PCIe Port2 support"
|
|
default n
|
|
|
|
config PCIE_PERST_ONLY
|
|
bool "Use single PERST_N pin (GPIO19) to reset PCIe peripherals"
|
|
default y
|
|
endif
|
|
|
|
#--------------------------
|
|
|
|
if RALINK_MT7628
|
|
|
|
choice
|
|
prompt "Soc Hardware Type"
|
|
default MT7628_ASIC
|
|
|
|
config MT7628_ASIC
|
|
bool "MT7628/MT7688-ASIC"
|
|
endchoice
|
|
|
|
endif
|
|
|
|
#--------------------------
|
|
|
|
config CLKSRC_MIPS_GIC
|
|
bool "Use MIPS GIC Counter (64 bit)"
|
|
depends on MIPS_GIC
|
|
default n
|
|
|
|
#--------------------------
|
|
|
|
choice
|
|
prompt "DRAM Size"
|
|
default RT2880_DRAM_64M
|
|
|
|
config RT2880_DRAM_16M
|
|
bool "16M"
|
|
|
|
config RT2880_DRAM_32M
|
|
bool "32M"
|
|
|
|
config RT2880_DRAM_64M
|
|
bool "64M"
|
|
|
|
config RT2880_DRAM_128M
|
|
bool "128M"
|
|
|
|
config RT2880_DRAM_256M
|
|
bool "256M"
|
|
|
|
config RT2880_DRAM_512M
|
|
bool "512M (448M + 64M Highmem)"
|
|
depends on (RALINK_MT7621 || MIPS_TC3262_1004K)
|
|
select LONG_CALLS
|
|
|
|
endchoice
|
|
|
|
config RALINK_RAM_SIZE
|
|
int
|
|
default 16 if RT2880_DRAM_16M
|
|
default 32 if RT2880_DRAM_32M
|
|
default 64 if RT2880_DRAM_64M
|
|
default 128 if RT2880_DRAM_128M
|
|
default 256 if RT2880_DRAM_256M
|
|
default 512 if RT2880_DRAM_512M
|
|
|
|
#--------------------------
|
|
|
|
if MTD
|
|
source "drivers/mtd/ralink/Kconfig"
|
|
endif
|
|
|
|
#--------------------------
|
|
|
|
choice
|
|
prompt "UART Baud Rate"
|
|
default RT2880_UART_57600
|
|
|
|
config RT2880_UART_57600
|
|
bool "57600"
|
|
|
|
config RT2880_UART_115200
|
|
bool "115200"
|
|
|
|
endchoice
|
|
|
|
config RALINK_UART_BRATE
|
|
int
|
|
default 57600 if RT2880_UART_57600
|
|
default 115200 if RT2880_UART_115200
|