blob: 570a1f53a19b2c061828bb7373b7f21899eecb9e [file] [log] [blame]
Yanhong Wangaaa18522023-03-16 10:53:32 +08001CONFIG_RISCV=y
2CONFIG_SYS_MALLOC_LEN=0x800000
3CONFIG_SYS_MALLOC_F_LEN=0x10000
4CONFIG_SPL_GPIO=y
5CONFIG_NR_DRAM_BANKS=1
6CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
7CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80000000
Tom Rinia77d6f82023-05-01 11:50:26 -04008CONFIG_SF_DEFAULT_SPEED=100000000
Yanhong Wangaaa18522023-03-16 10:53:32 +08009CONFIG_SPL_DM_SPI=y
Yanhong Wang438ab1e2023-06-15 17:36:45 +080010CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2"
Yanhong Wangaaa18522023-03-16 10:53:32 +080011CONFIG_SPL_TEXT_BASE=0x8000000
12CONFIG_SYS_PROMPT="StarFive #"
Tom Rinia77d6f82023-05-01 11:50:26 -040013CONFIG_OF_LIBFDT_OVERLAY=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080014CONFIG_DM_RESET=y
15CONFIG_SPL_MMC=y
Yanhong Wang2b517432023-06-15 17:36:50 +080016CONFIG_SPL_DRIVERS_MISC=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080017CONFIG_SPL_STACK=0x8180000
18CONFIG_SPL=y
19CONFIG_SPL_SPI_FLASH_SUPPORT=y
20CONFIG_SPL_SPI=y
21CONFIG_SYS_LOAD_ADDR=0x82000000
22CONFIG_TARGET_STARFIVE_VISIONFIVE2=y
23CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000
24CONFIG_ARCH_RV64I=y
25CONFIG_CMODEL_MEDANY=y
26CONFIG_RISCV_SMODE=y
Yanhong Wang2b517432023-06-15 17:36:50 +080027# CONFIG_OF_BOARD_FIXUP is not set
Yanhong Wangaaa18522023-03-16 10:53:32 +080028CONFIG_FIT=y
Tom Rinia77d6f82023-05-01 11:50:26 -040029CONFIG_DISTRO_DEFAULTS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080030CONFIG_QSPI_BOOT=y
31CONFIG_SD_BOOT=y
32CONFIG_USE_BOOTARGS=y
33CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
34CONFIG_USE_PREBOOT=y
35CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};"
Yanhong Wang438ab1e2023-06-15 17:36:45 +080036CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb"
Yanhong Wangaaa18522023-03-16 10:53:32 +080037CONFIG_DISPLAY_CPUINFO=y
38CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080039CONFIG_ID_EEPROM=y
40CONFIG_SYS_EEPROM_BUS_NUM=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080041CONFIG_SPL_MAX_SIZE=0x40000
42CONFIG_SPL_PAD_TO=0x0
43CONFIG_SPL_BSS_START_ADDR=0x8040000
44CONFIG_SPL_BSS_MAX_SIZE=0x10000
45# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
46CONFIG_SYS_SPL_MALLOC=y
47CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
48CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000
49CONFIG_SYS_SPL_MALLOC_SIZE=0x400000
50CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
51CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang2b517432023-06-15 17:36:50 +080052CONFIG_SPL_I2C=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080053CONFIG_SPL_DM_SPI_FLASH=y
54CONFIG_SPL_DM_RESET=y
55CONFIG_SPL_SPI_LOAD=y
56CONFIG_SYS_CBSIZE=256
57CONFIG_SYS_PBSIZE=276
58CONFIG_SYS_BOOTM_LEN=0x4000000
Yanhong Wang2b517432023-06-15 17:36:50 +080059CONFIG_CMD_EEPROM=y
60CONFIG_SYS_EEPROM_SIZE=512
61CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
62CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080063CONFIG_CMD_MEMINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080064CONFIG_CMD_I2C=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080065CONFIG_CMD_TFTPPUT=y
Yanhong Wang2b517432023-06-15 17:36:50 +080066CONFIG_OF_BOARD=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080067CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang2b517432023-06-15 17:36:50 +080068CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080069CONFIG_REGMAP=y
70CONFIG_SYSCON=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080071CONFIG_SPL_CLK_COMPOSITE_CCF=y
72CONFIG_CLK_COMPOSITE_CCF=y
73CONFIG_SPL_CLK_JH7110=y
Yanhong Wang2b517432023-06-15 17:36:50 +080074CONFIG_DM_I2C=y
75CONFIG_SYS_I2C_DW=y
76CONFIG_MISC=y
77CONFIG_I2C_EEPROM=y
78CONFIG_SPL_I2C_EEPROM=y
79CONFIG_SYS_I2C_EEPROM_ADDR=0X50
Yanhong Wangaaa18522023-03-16 10:53:32 +080080CONFIG_MMC_HS400_SUPPORT=y
81CONFIG_SPL_MMC_HS400_SUPPORT=y
82CONFIG_MMC_DW=y
83CONFIG_MMC_DW_SNPS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080084CONFIG_SPI_FLASH_EON=y
85CONFIG_SPI_FLASH_GIGADEVICE=y
86CONFIG_SPI_FLASH_ISSI=y
87CONFIG_SPI_FLASH_MACRONIX=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080088CONFIG_PHY_MOTORCOMM=y
89CONFIG_DM_MDIO=y
90CONFIG_DM_ETH_PHY=y
91CONFIG_DWC_ETH_QOS=y
92CONFIG_DWC_ETH_QOS_STARFIVE=y
93CONFIG_RGMII=y
94CONFIG_RMII=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080095CONFIG_PINCTRL=y
96CONFIG_PINCONF=y
97CONFIG_SPL_PINCTRL=y
98CONFIG_SPL_PINCONF=y
99CONFIG_SPL_PINCTRL_STARFIVE=y
100CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y
101CONFIG_PINCTRL_STARFIVE=y
102# CONFIG_RAM_SIFIVE is not set
103CONFIG_SYS_NS16550=y
104CONFIG_CADENCE_QSPI=y
105CONFIG_TIMER_EARLY=y