xref: /openbmc/u-boot/arch/mips/mach-mt7620/Kconfig (revision b02f76a8)
14c835a60SStefan Roesemenu "MediaTek MIPS platforms"
24c835a60SStefan Roese	depends on ARCH_MT7620
34c835a60SStefan Roese
44c835a60SStefan Roeseconfig SYS_MALLOC_F_LEN
54c835a60SStefan Roese	default 0x1000
64c835a60SStefan Roese
74c835a60SStefan Roeseconfig SYS_SOC
84c835a60SStefan Roese	default "mt7620" if SOC_MT7620
94c835a60SStefan Roese
104c835a60SStefan Roesechoice
114c835a60SStefan Roese	prompt "MediaTek MIPS SoC select"
124c835a60SStefan Roese
134c835a60SStefan Roeseconfig SOC_MT7620
144c835a60SStefan Roese	bool "MT7620/8"
154c835a60SStefan Roese	select MIPS_L1_CACHE_SHIFT_5
164c835a60SStefan Roese	help
174c835a60SStefan Roese	  This supports MediaTek MIPS MT7620 family.
184c835a60SStefan Roese
194c835a60SStefan Roeseendchoice
204c835a60SStefan Roese
214c835a60SStefan Roesechoice
224c835a60SStefan Roese	prompt "Board select"
234c835a60SStefan Roese
24*b02f76a8SStefan Roeseconfig BOARD_LINKIT_SMART_7688
25*b02f76a8SStefan Roese	bool "LinkIt Smart 7688"
26*b02f76a8SStefan Roese	depends on SOC_MT7620
27*b02f76a8SStefan Roese	select SUPPORTS_BOOT_RAM
28*b02f76a8SStefan Roese	help
29*b02f76a8SStefan Roese	  Seeed LinkIt Smart 7688 boards have a MT7688 SoC with 128 MiB of RAM
30*b02f76a8SStefan Roese	  and 32 MiB of flash (SPI).
31*b02f76a8SStefan Roese	  Between its different peripherals there's an integrated switch with 4
32*b02f76a8SStefan Roese	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
33*b02f76a8SStefan Roese	  a MT7688 (PCIe).
34*b02f76a8SStefan Roese
354c835a60SStefan Roeseendchoice
364c835a60SStefan Roese
374c835a60SStefan Roesechoice
384c835a60SStefan Roese	prompt "Boot mode"
394c835a60SStefan Roese
404c835a60SStefan Roeseconfig BOOT_RAM
414c835a60SStefan Roese	bool "RAM boot"
424c835a60SStefan Roese	depends on SUPPORTS_BOOT_RAM
434c835a60SStefan Roese	help
444c835a60SStefan Roese	  This builds an image that is linked to a RAM address. It can be used
454c835a60SStefan Roese	  for booting from CFE via TFTP using an ELF image, but it can also be
464c835a60SStefan Roese	  booted from RAM by other bootloaders using a BIN image.
474c835a60SStefan Roese
484c835a60SStefan Roeseconfig BOOT_ROM
494c835a60SStefan Roese	bool "ROM boot"
504c835a60SStefan Roese	depends on SUPPORTS_BOOT_RAM
514c835a60SStefan Roese	help
524c835a60SStefan Roese	  This builds an image that is linked to a ROM address. It can be
534c835a60SStefan Roese	  used as main bootloader image which is programmed onto the onboard
544c835a60SStefan Roese	  flash storage (SPI NOR).
554c835a60SStefan Roese
564c835a60SStefan Roeseendchoice
574c835a60SStefan Roese
584c835a60SStefan Roesechoice
594c835a60SStefan Roese	prompt "DDR2 size"
604c835a60SStefan Roese
614c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_256MBIT
624c835a60SStefan Roese	bool "256MBit (32MByte) total size"
634c835a60SStefan Roese	depends on BOOT_ROM
644c835a60SStefan Roese	help
654c835a60SStefan Roese	  Use 256MBit (32MByte) of DDR total size
664c835a60SStefan Roese
674c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_512MBIT
684c835a60SStefan Roese	bool "512MBit (64MByte) total size"
694c835a60SStefan Roese	depends on BOOT_ROM
704c835a60SStefan Roese	help
714c835a60SStefan Roese	  Use 512MBit (64MByte) of DDR total size
724c835a60SStefan Roese
734c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_1024MBIT
744c835a60SStefan Roese	bool "1024MBit (128MByte) total size"
754c835a60SStefan Roese	depends on BOOT_ROM
764c835a60SStefan Roese	help
774c835a60SStefan Roese	  Use 1024MBit (128MByte) of DDR total size
784c835a60SStefan Roese
794c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_2048MBIT
804c835a60SStefan Roese	bool "2048MBit (256MByte) total size"
814c835a60SStefan Roese	depends on BOOT_ROM
824c835a60SStefan Roese	help
834c835a60SStefan Roese	  Use 2048MBit (256MByte) of DDR total size
844c835a60SStefan Roese
854c835a60SStefan Roeseendchoice
864c835a60SStefan Roese
874c835a60SStefan Roesechoice
884c835a60SStefan Roese	prompt "DDR2 chip width"
894c835a60SStefan Roese
904c835a60SStefan Roeseconfig ONBOARD_DDR2_CHIP_WIDTH_8BIT
914c835a60SStefan Roese	bool "8bit DDR chip width"
924c835a60SStefan Roese	depends on BOOT_ROM
934c835a60SStefan Roese	help
944c835a60SStefan Roese	  Use DDR chips with 8bit width
954c835a60SStefan Roese
964c835a60SStefan Roeseconfig ONBOARD_DDR2_CHIP_WIDTH_16BIT
974c835a60SStefan Roese	bool "16bit DDR chip width"
984c835a60SStefan Roese	depends on BOOT_ROM
994c835a60SStefan Roese	help
1004c835a60SStefan Roese	  Use DDR chips with 16bit width
1014c835a60SStefan Roese
1024c835a60SStefan Roeseendchoice
1034c835a60SStefan Roese
1044c835a60SStefan Roesechoice
1054c835a60SStefan Roese	prompt "DDR2 bus width"
1064c835a60SStefan Roese
1074c835a60SStefan Roeseconfig ONBOARD_DDR2_BUS_WIDTH_16BIT
1084c835a60SStefan Roese	bool "16bit DDR bus width"
1094c835a60SStefan Roese	depends on BOOT_ROM
1104c835a60SStefan Roese	help
1114c835a60SStefan Roese	  Use 16bit DDR bus width
1124c835a60SStefan Roese
1134c835a60SStefan Roeseconfig ONBOARD_DDR2_BUS_WIDTH_32BIT
1144c835a60SStefan Roese	bool "32bit DDR bus width"
1154c835a60SStefan Roese	depends on BOOT_ROM
1164c835a60SStefan Roese	help
1174c835a60SStefan Roese	  Use 32bit DDR bus width
1184c835a60SStefan Roese
1194c835a60SStefan Roeseendchoice
1204c835a60SStefan Roese
1214c835a60SStefan Roeseconfig SUPPORTS_BOOT_RAM
1224c835a60SStefan Roese	bool
1234c835a60SStefan Roese
124*b02f76a8SStefan Roesesource "board/seeed/linkit-smart-7688/Kconfig"
125*b02f76a8SStefan Roese
1264c835a60SStefan Roeseendmenu
127