Stefan Roese | 4c835a6 | 2018-09-05 15:12:35 +0200 | [diff] [blame^] | 1 | menu "MediaTek MIPS platforms" |
| 2 | depends on ARCH_MT7620 |
| 3 | |
| 4 | config SYS_MALLOC_F_LEN |
| 5 | default 0x1000 |
| 6 | |
| 7 | config SYS_SOC |
| 8 | default "mt7620" if SOC_MT7620 |
| 9 | |
| 10 | choice |
| 11 | prompt "MediaTek MIPS SoC select" |
| 12 | |
| 13 | config SOC_MT7620 |
| 14 | bool "MT7620/8" |
| 15 | select MIPS_L1_CACHE_SHIFT_5 |
| 16 | help |
| 17 | This supports MediaTek MIPS MT7620 family. |
| 18 | |
| 19 | endchoice |
| 20 | |
| 21 | choice |
| 22 | prompt "Board select" |
| 23 | |
| 24 | endchoice |
| 25 | |
| 26 | choice |
| 27 | prompt "Boot mode" |
| 28 | |
| 29 | config BOOT_RAM |
| 30 | bool "RAM boot" |
| 31 | depends on SUPPORTS_BOOT_RAM |
| 32 | help |
| 33 | This builds an image that is linked to a RAM address. It can be used |
| 34 | for booting from CFE via TFTP using an ELF image, but it can also be |
| 35 | booted from RAM by other bootloaders using a BIN image. |
| 36 | |
| 37 | config BOOT_ROM |
| 38 | bool "ROM boot" |
| 39 | depends on SUPPORTS_BOOT_RAM |
| 40 | help |
| 41 | This builds an image that is linked to a ROM address. It can be |
| 42 | used as main bootloader image which is programmed onto the onboard |
| 43 | flash storage (SPI NOR). |
| 44 | |
| 45 | endchoice |
| 46 | |
| 47 | choice |
| 48 | prompt "DDR2 size" |
| 49 | |
| 50 | config ONBOARD_DDR2_SIZE_256MBIT |
| 51 | bool "256MBit (32MByte) total size" |
| 52 | depends on BOOT_ROM |
| 53 | help |
| 54 | Use 256MBit (32MByte) of DDR total size |
| 55 | |
| 56 | config ONBOARD_DDR2_SIZE_512MBIT |
| 57 | bool "512MBit (64MByte) total size" |
| 58 | depends on BOOT_ROM |
| 59 | help |
| 60 | Use 512MBit (64MByte) of DDR total size |
| 61 | |
| 62 | config ONBOARD_DDR2_SIZE_1024MBIT |
| 63 | bool "1024MBit (128MByte) total size" |
| 64 | depends on BOOT_ROM |
| 65 | help |
| 66 | Use 1024MBit (128MByte) of DDR total size |
| 67 | |
| 68 | config ONBOARD_DDR2_SIZE_2048MBIT |
| 69 | bool "2048MBit (256MByte) total size" |
| 70 | depends on BOOT_ROM |
| 71 | help |
| 72 | Use 2048MBit (256MByte) of DDR total size |
| 73 | |
| 74 | endchoice |
| 75 | |
| 76 | choice |
| 77 | prompt "DDR2 chip width" |
| 78 | |
| 79 | config ONBOARD_DDR2_CHIP_WIDTH_8BIT |
| 80 | bool "8bit DDR chip width" |
| 81 | depends on BOOT_ROM |
| 82 | help |
| 83 | Use DDR chips with 8bit width |
| 84 | |
| 85 | config ONBOARD_DDR2_CHIP_WIDTH_16BIT |
| 86 | bool "16bit DDR chip width" |
| 87 | depends on BOOT_ROM |
| 88 | help |
| 89 | Use DDR chips with 16bit width |
| 90 | |
| 91 | endchoice |
| 92 | |
| 93 | choice |
| 94 | prompt "DDR2 bus width" |
| 95 | |
| 96 | config ONBOARD_DDR2_BUS_WIDTH_16BIT |
| 97 | bool "16bit DDR bus width" |
| 98 | depends on BOOT_ROM |
| 99 | help |
| 100 | Use 16bit DDR bus width |
| 101 | |
| 102 | config ONBOARD_DDR2_BUS_WIDTH_32BIT |
| 103 | bool "32bit DDR bus width" |
| 104 | depends on BOOT_ROM |
| 105 | help |
| 106 | Use 32bit DDR bus width |
| 107 | |
| 108 | endchoice |
| 109 | |
| 110 | config SUPPORTS_BOOT_RAM |
| 111 | bool |
| 112 | |
| 113 | endmenu |