mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
537eaf4ea7
MikroTik CRS328-4C-20S-4S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a bigger Macronix flash. Add basic U-Boot, UART and SPI flash support. Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: Stefan Roese <sr@denx.de>
54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_MVEBU=y
|
|
CONFIG_SYS_TEXT_BASE=0x00800000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_TARGET_CRS3XX_98DX3236=y
|
|
CONFIG_ENV_SIZE=0x10000
|
|
CONFIG_ENV_SECT_SIZE=0x10000
|
|
CONFIG_ENV_OFFSET=0x1F0000
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
# CONFIG_EFI_LOADER is not set
|
|
CONFIG_BUILD_TARGET="u-boot.kwb"
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Autoboot in %d seconds, to stop use 's' key\n"
|
|
CONFIG_AUTOBOOT_STOP_STR="s"
|
|
CONFIG_AUTOBOOT_KEYED_CTRLC=y
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_I2C is not set
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="armada-xp-crs328-4c-20s-4s"
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_BLK=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_BOOTCOUNT_ENV=y
|
|
# CONFIG_DM_I2C is not set
|
|
# CONFIG_SYS_I2C_MVTWSI is not set
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_PARTITIONS=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
|
|
CONFIG_SPI_FLASH_BAR=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_ENABLE_SHA256_SUPPORT=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_FIT_BEST_MATCH=y
|
|
CONFIG_PCI=y
|
|
CONFIG_PCI_MVEBU=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_KIRKWOOD_SPI=y
|