1 menu "MediaTek MIPS platforms"
5 default "mediatek" if BOARD_MT7628_RFB || BOARD_MT7620_RFB || BOARD_MT7620_MT7530_RFB
7 config SYS_MALLOC_F_LEN
11 default "mt7620" if SOC_MT7620
12 default "mt7621" if SOC_MT7621
13 default "mt7628" if SOC_MT7628
15 config SYS_DCACHE_SIZE
18 config SYS_DCACHE_LINE_SIZE
21 config SYS_ICACHE_SIZE
22 default 65536 if SOC_MT7620 || SOC_MT7628
23 default 32768 if SOC_MT7621
25 config SYS_ICACHE_LINE_SIZE
28 config SYS_SCACHE_LINE_SIZE
29 default 32 if SOC_MT7621
32 default 0x9c000000 if !SPL && !SOC_MT7621
33 default 0x80200000 if SPL || SOC_MT7621
36 default 0x9c000000 if !SOC_MT7621
37 default 0x80100000 if SOC_MT7621
40 default 0x30000 if SOC_MT7621
43 default 0xbfc00000 if SOC_MT7621
46 default 4096 if SOC_MT7621
49 default "u-boot-lzma.img" if SPL_LZMA
52 default "u-boot-with-spl.bin" if SPL && !SOC_MT7621
53 default "u-boot-lzma.img" if SOC_MT7621
58 default 256 if SOC_MT7620 || SOC_MT7628
59 default 512 if SOC_MT7621
62 prompt "MediaTek MIPS SoC select"
66 select SYS_CACHE_SHIFT_5
67 select SYS_MIPS_CACHE_INIT_RAM_LOAD
71 select SPL_SEPARATE_BSS if SPL
72 select SPL_LOADER_SUPPORT if SPL
73 select SPL_OF_CONTROL if SPL_DM
74 select SPL_OF_PLATDATA if SPL_DM
75 select SPL_DM_SERIAL if SPL_DM
77 This supports MediaTek MT7620.
83 select SYS_CACHE_SHIFT_5
84 select SYS_MIPS_CACHE_INIT_RAM_LOAD
91 select SPL_LOADER_SUPPORT if SPL
92 select SPL_INIT_STACK_WITHOUT_MALLOC_F if SPL
94 This supports MediaTek MT7621.
98 select SYS_CACHE_SHIFT_5
99 select MIPS_INIT_STACK_IN_SRAM
100 select MIPS_SRAM_INIT
101 select SYS_MIPS_CACHE_INIT_RAM_LOAD
102 select PINCTRL_MT7628
105 select SYSRESET_RESETCTL
106 select SPL_SEPARATE_BSS if SPL
107 select SPL_INIT_STACK_WITHOUT_MALLOC_F if SPL
108 select SPL_LOADER_SUPPORT if SPL
109 select SPL_OF_CONTROL if SPL_DM
110 select SPL_SIMPLE_BUS if SPL_DM
111 select SPL_DM_SERIAL if SPL_DM
112 select SPL_CLK if SPL_DM && SPL_SERIAL
113 select SPL_SYSRESET if SPL_DM
114 select SPL_OF_LIBFDT if SPL_OF_CONTROL
116 This supports MediaTek MT7628/MT7688.
120 source "arch/mips/mach-mtmips/mt7620/Kconfig"
121 source "arch/mips/mach-mtmips/mt7621/Kconfig"
122 source "arch/mips/mach-mtmips/mt7628/Kconfig"