Add U-Boot support for Milk-V Duo 256M. This board has a different SoC compared to the Milk-V Duo 64M, it uses the Sophgo SG2002 instead of the Sophgo CV1800B. Both SoCs share many common IP blocks, so this board reuses the existing cv1800b CPU support. The board shares the same 'board.c' with Milk-V Duo 64MB (CV1800B), so use the same file for now. Link: https://milkv.io/docs/duo/getting-started/duo256m Signed-off-by: Hiago De Franco <hfranco@baylibre.com> Acked-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
CONFIG_RISCV=y
|
|
CONFIG_SYS_MALLOC_LEN=0x820000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x8000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82300000
|
|
CONFIG_DEFAULT_DEVICE_TREE="sg2002-milkv-duo256m"
|
|
CONFIG_SYS_LOAD_ADDR=0x80080000
|
|
CONFIG_IDENT_STRING="milkv_duo_256m"
|
|
CONFIG_TARGET_MILKV_DUO_256M=y
|
|
CONFIG_ARCH_RV64I=y
|
|
CONFIG_RISCV_SMODE=y
|
|
CONFIG_FIT=y
|
|
CONFIG_BOOTSTD_FULL=y
|
|
# CONFIG_BOOTMETH_EFI_BOOTMGR is not set
|
|
CONFIG_SD_BOOT=y
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=544
|
|
CONFIG_SYS_PROMPT="milkv_duo_256m# "
|
|
# CONFIG_CMD_BOOTDEV is not set
|
|
CONFIG_CMD_MBR=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_POWEROFF=y
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
# CONFIG_ISO_PARTITION is not set
|
|
# CONFIG_EFI_PARTITION is not set
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_CLK_SOPHGO_CV1800B=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_IO_VOLTAGE=y
|
|
CONFIG_MMC_UHS_SUPPORT=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_ADMA=y
|
|
CONFIG_MMC_SDHCI_CV1800B=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SYS_NS16550_MEM32=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_CV1800B=y
|