blob: 5d8a8e28cbb660376b21335cd4da17f37b386cb8 [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
Chanho Park25993a42023-07-14 18:41:08 +090012CONFIG_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
Mason Huo36d20ef2023-07-25 17:46:49 +080022CONFIG_SYS_PCI_64BIT=y
23CONFIG_PCI=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080024CONFIG_TARGET_STARFIVE_VISIONFIVE2=y
25CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000
26CONFIG_ARCH_RV64I=y
27CONFIG_CMODEL_MEDANY=y
28CONFIG_RISCV_SMODE=y
Yanhong Wang2b517432023-06-15 17:36:50 +080029# CONFIG_OF_BOARD_FIXUP is not set
Yanhong Wangaaa18522023-03-16 10:53:32 +080030CONFIG_FIT=y
Tom Rinia77d6f82023-05-01 11:50:26 -040031CONFIG_DISTRO_DEFAULTS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080032CONFIG_QSPI_BOOT=y
33CONFIG_SD_BOOT=y
34CONFIG_USE_BOOTARGS=y
35CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
36CONFIG_USE_PREBOOT=y
37CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};"
Yanhong Wang438ab1e2023-06-15 17:36:45 +080038CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb"
Yanhong Wangaaa18522023-03-16 10:53:32 +080039CONFIG_DISPLAY_CPUINFO=y
40CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080041CONFIG_ID_EEPROM=y
42CONFIG_SYS_EEPROM_BUS_NUM=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080043CONFIG_SPL_MAX_SIZE=0x40000
44CONFIG_SPL_PAD_TO=0x0
45CONFIG_SPL_BSS_START_ADDR=0x8040000
46CONFIG_SPL_BSS_MAX_SIZE=0x10000
47# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
48CONFIG_SYS_SPL_MALLOC=y
49CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
50CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000
51CONFIG_SYS_SPL_MALLOC_SIZE=0x400000
52CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
53CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang2b517432023-06-15 17:36:50 +080054CONFIG_SPL_I2C=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080055CONFIG_SPL_DM_SPI_FLASH=y
56CONFIG_SPL_DM_RESET=y
57CONFIG_SPL_SPI_LOAD=y
58CONFIG_SYS_CBSIZE=256
59CONFIG_SYS_PBSIZE=276
60CONFIG_SYS_BOOTM_LEN=0x4000000
Yanhong Wang2b517432023-06-15 17:36:50 +080061CONFIG_CMD_EEPROM=y
62CONFIG_SYS_EEPROM_SIZE=512
63CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
64CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080065CONFIG_CMD_MEMINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080066CONFIG_CMD_I2C=y
Mason Huo36d20ef2023-07-25 17:46:49 +080067CONFIG_CMD_PCI=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080068CONFIG_CMD_TFTPPUT=y
Yanhong Wang2b517432023-06-15 17:36:50 +080069CONFIG_OF_BOARD=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080070CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang2b517432023-06-15 17:36:50 +080071CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080072CONFIG_REGMAP=y
73CONFIG_SYSCON=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080074CONFIG_SPL_CLK_COMPOSITE_CCF=y
75CONFIG_CLK_COMPOSITE_CCF=y
76CONFIG_SPL_CLK_JH7110=y
Yanhong Wang2b517432023-06-15 17:36:50 +080077CONFIG_DM_I2C=y
78CONFIG_SYS_I2C_DW=y
79CONFIG_MISC=y
80CONFIG_I2C_EEPROM=y
81CONFIG_SPL_I2C_EEPROM=y
82CONFIG_SYS_I2C_EEPROM_ADDR=0X50
Yanhong Wangaaa18522023-03-16 10:53:32 +080083CONFIG_MMC_HS400_SUPPORT=y
84CONFIG_SPL_MMC_HS400_SUPPORT=y
85CONFIG_MMC_DW=y
86CONFIG_MMC_DW_SNPS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080087CONFIG_SPI_FLASH_EON=y
88CONFIG_SPI_FLASH_GIGADEVICE=y
89CONFIG_SPI_FLASH_ISSI=y
90CONFIG_SPI_FLASH_MACRONIX=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080091CONFIG_PHY_MOTORCOMM=y
92CONFIG_DM_MDIO=y
93CONFIG_DM_ETH_PHY=y
94CONFIG_DWC_ETH_QOS=y
95CONFIG_DWC_ETH_QOS_STARFIVE=y
96CONFIG_RGMII=y
97CONFIG_RMII=y
Minda Chenac7a5102023-07-20 19:37:29 +080098CONFIG_RTL8169=y
Mason Huo36d20ef2023-07-25 17:46:49 +080099CONFIG_NVME_PCI=y
100CONFIG_DM_PCI_COMPAT=y
101CONFIG_PCI_REGION_MULTI_ENTRY=y
102CONFIG_PCIE_STARFIVE_JH7110=y
Yanhong Wangaaa18522023-03-16 10:53:32 +0800103CONFIG_PINCTRL=y
104CONFIG_PINCONF=y
105CONFIG_SPL_PINCTRL=y
106CONFIG_SPL_PINCONF=y
107CONFIG_SPL_PINCTRL_STARFIVE=y
108CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y
109CONFIG_PINCTRL_STARFIVE=y
110# CONFIG_RAM_SIFIVE is not set
111CONFIG_SYS_NS16550=y
112CONFIG_CADENCE_QSPI=y
113CONFIG_TIMER_EARLY=y