developer | 2fddd72 | 2022-05-20 11:22:21 +0800 | [diff] [blame^] | 1 | |
| 2 | if SOC_MT7621 |
| 3 | |
| 4 | menu "CPU & DDR configuration" |
| 5 | |
| 6 | config MT7621_CPU_FREQ |
| 7 | int "CPU Frequency (MHz)" |
| 8 | range 400 1200 |
| 9 | default 880 |
| 10 | |
| 11 | choice |
| 12 | prompt "DRAM Frequency" |
| 13 | default MT7621_DRAM_FREQ_1200 |
| 14 | |
| 15 | config MT7621_DRAM_FREQ_400 |
| 16 | bool "400MHz" |
| 17 | |
| 18 | config MT7621_DRAM_FREQ_800 |
| 19 | bool "800MHz" |
| 20 | |
| 21 | config MT7621_DRAM_FREQ_1066 |
| 22 | bool "1066MHz" |
| 23 | |
| 24 | config MT7621_DRAM_FREQ_1200 |
| 25 | bool "1200MHz" |
| 26 | |
| 27 | endchoice |
| 28 | |
| 29 | choice |
| 30 | prompt "DDR2 timing parameters" |
| 31 | default MT7621_DRAM_DDR2_1024M |
| 32 | |
| 33 | config MT7621_DRAM_DDR2_512M |
| 34 | bool "64MB" |
| 35 | |
| 36 | config MT7621_DRAM_DDR2_1024M |
| 37 | bool "128MB" |
| 38 | |
| 39 | config MT7621_DRAM_DDR2_512M_W9751G6KB_A02_1066MHZ |
| 40 | bool "W9751G6KB_A02 @ 1066MHz (64MB)" |
| 41 | |
| 42 | config MT7621_DRAM_DDR2_1024M_W971GG6KB25_800MHZ |
| 43 | bool "W971GG6KB25 @ 800MHz (128MB)" |
| 44 | |
| 45 | config MT7621_DRAM_DDR2_1024M_W971GG6KB18_1066MHZ |
| 46 | bool "W971GG6KB18 @ 1066MHz (128MB)" |
| 47 | |
| 48 | endchoice |
| 49 | |
| 50 | choice |
| 51 | prompt "DDR3 timing parameters" |
| 52 | default MT7621_DRAM_DDR3_2048M |
| 53 | |
| 54 | config MT7621_DRAM_DDR3_1024M |
| 55 | bool "128MB" |
| 56 | |
| 57 | config MT7621_DRAM_DDR3_1024M_KGD |
| 58 | bool "128MB KGD (MT7621DA)" |
| 59 | |
| 60 | config MT7621_DRAM_DDR3_2048M |
| 61 | bool "256MB" |
| 62 | |
| 63 | config MT7621_DRAM_DDR3_4096M |
| 64 | bool "512MB" |
| 65 | |
| 66 | endchoice |
| 67 | |
| 68 | endmenu |
| 69 | |
| 70 | config DEBUG_UART_BOARD_INIT |
| 71 | default y |
| 72 | |
| 73 | config 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 | |
| 79 | choice |
| 80 | prompt "Board select" |
| 81 | |
| 82 | endchoice |
| 83 | |
| 84 | config SYS_CONFIG_NAME |
| 85 | string "Board configuration name" |
| 86 | default "mt7621" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB |
| 87 | |
| 88 | config SYS_BOARD |
| 89 | string "Board name" |
| 90 | default "mt7621" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB |
| 91 | |
| 92 | config SYS_VENDOR |
| 93 | default "mediatek" if BOARD_MT7621_RFB || BOARD_MT7621_NAND_RFB |
| 94 | |
| 95 | endif |