blob: 37d512c68faed8e23d270c83d8b69ad9b018a90c [file] [log] [blame]
developer2fddd722022-05-20 11:22:21 +08001
2if SOC_MT7621
3
4menu "CPU & DDR configuration"
5
6config MT7621_CPU_FREQ
7 int "CPU Frequency (MHz)"
8 range 400 1200
9 default 880
10
11choice
12 prompt "DRAM Frequency"
13 default MT7621_DRAM_FREQ_1200
14
15config MT7621_DRAM_FREQ_400
16 bool "400MHz"
17
18config MT7621_DRAM_FREQ_800
19 bool "800MHz"
20
21config MT7621_DRAM_FREQ_1066
22 bool "1066MHz"
23
24config MT7621_DRAM_FREQ_1200
25 bool "1200MHz"
26
27endchoice
28
29choice
30 prompt "DDR2 timing parameters"
31 default MT7621_DRAM_DDR2_1024M
32
33config MT7621_DRAM_DDR2_512M
34 bool "64MB"
35
36config MT7621_DRAM_DDR2_1024M
37 bool "128MB"
38
39config MT7621_DRAM_DDR2_512M_W9751G6KB_A02_1066MHZ
40 bool "W9751G6KB_A02 @ 1066MHz (64MB)"
41
42config MT7621_DRAM_DDR2_1024M_W971GG6KB25_800MHZ
43 bool "W971GG6KB25 @ 800MHz (128MB)"
44
45config MT7621_DRAM_DDR2_1024M_W971GG6KB18_1066MHZ
46 bool "W971GG6KB18 @ 1066MHz (128MB)"
47
48endchoice
49
50choice
51 prompt "DDR3 timing parameters"
52 default MT7621_DRAM_DDR3_2048M
53
54config MT7621_DRAM_DDR3_1024M
55 bool "128MB"
56
57config MT7621_DRAM_DDR3_1024M_KGD
58 bool "128MB KGD (MT7621DA)"
59
60config MT7621_DRAM_DDR3_2048M
61 bool "256MB"
62
63config MT7621_DRAM_DDR3_4096M
64 bool "512MB"
65
66endchoice
67
68endmenu
69
70config DEBUG_UART_BOARD_INIT
71 default y
72
73config MT7621_BOOT_FROM_NAND
74 bool "Boot from NAND"
75 help
76 Select this if u-boot will boot from NAND flash. When booting from
77 NAND, SPL will be loaded by bootrom directly and no TPL is needed.
78
79choice
80 prompt "Board select"
81
82endchoice
83
84config SYS_CONFIG_NAME
85 string "Board configuration name"
86 default "mt7621" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB
87
88config SYS_BOARD
89 string "Board name"
90 default "mt7621" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB
91
92config SYS_VENDOR
93 default "mediatek" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB
94
95endif