blob: 7a3f1d4dbdfdbe30eeca5f52fe9582bd7bab9b8f [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
Shengyu Qud13efc32023-08-08 21:14:36 +08009CONFIG_ENV_SIZE=0x10000
10CONFIG_ENV_OFFSET=0xf0000
Yanhong Wangaaa18522023-03-16 10:53:32 +080011CONFIG_SPL_DM_SPI=y
Yanhong Wang438ab1e2023-06-15 17:36:45 +080012CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2"
Yanhong Wangaaa18522023-03-16 10:53:32 +080013CONFIG_SPL_TEXT_BASE=0x8000000
Tom Rinia77d6f82023-05-01 11:50:26 -040014CONFIG_OF_LIBFDT_OVERLAY=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080015CONFIG_DM_RESET=y
16CONFIG_SPL_MMC=y
Yanhong Wang2b517432023-06-15 17:36:50 +080017CONFIG_SPL_DRIVERS_MISC=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080018CONFIG_SPL_STACK=0x8180000
19CONFIG_SPL=y
20CONFIG_SPL_SPI_FLASH_SUPPORT=y
21CONFIG_SPL_SPI=y
22CONFIG_SYS_LOAD_ADDR=0x82000000
Mason Huo36d20ef2023-07-25 17:46:49 +080023CONFIG_SYS_PCI_64BIT=y
24CONFIG_PCI=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080025CONFIG_TARGET_STARFIVE_VISIONFIVE2=y
26CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000
27CONFIG_ARCH_RV64I=y
28CONFIG_CMODEL_MEDANY=y
29CONFIG_RISCV_SMODE=y
Yanhong Wang2b517432023-06-15 17:36:50 +080030# CONFIG_OF_BOARD_FIXUP is not set
Tom Rinic4359852023-10-02 10:35:27 -040031# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
Yanhong Wangaaa18522023-03-16 10:53:32 +080032CONFIG_FIT=y
Nam Cao6d808632024-02-21 13:00:14 +010033CONFIG_BOOTSTD_DEFAULTS=y
Tom Rini914a8c02024-01-03 09:26:16 -050034CONFIG_SYS_BOOTM_LEN=0x4000000
Chanho Park13d22202023-10-10 17:49:18 +090035CONFIG_BOOTSTAGE=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080036CONFIG_QSPI_BOOT=y
37CONFIG_SD_BOOT=y
Tom Rini8d3a5882023-10-02 13:58:20 -040038CONFIG_OF_BOARD_SETUP=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080039CONFIG_USE_BOOTARGS=y
40CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
41CONFIG_USE_PREBOOT=y
Shengyu Qu8a084802023-08-22 22:33:56 +080042CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
Yanhong Wang438ab1e2023-06-15 17:36:45 +080043CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb"
Tom Rini914a8c02024-01-03 09:26:16 -050044CONFIG_SYS_CBSIZE=256
45CONFIG_SYS_PBSIZE=276
Yanhong Wangaaa18522023-03-16 10:53:32 +080046CONFIG_DISPLAY_CPUINFO=y
47CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080048CONFIG_ID_EEPROM=y
49CONFIG_SYS_EEPROM_BUS_NUM=5
Tom Rinic4359852023-10-02 10:35:27 -040050CONFIG_PCI_INIT_R=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080051CONFIG_SPL_MAX_SIZE=0x40000
52CONFIG_SPL_PAD_TO=0x0
53CONFIG_SPL_BSS_START_ADDR=0x8040000
54CONFIG_SPL_BSS_MAX_SIZE=0x10000
55# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
Simon Glass67e3fca2023-09-26 08:14:16 -060056CONFIG_SPL_SYS_MALLOC=y
57CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
58CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
59CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
Yanhong Wangaaa18522023-03-16 10:53:32 +080060CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
61CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang2b517432023-06-15 17:36:50 +080062CONFIG_SPL_I2C=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080063CONFIG_SPL_DM_SPI_FLASH=y
64CONFIG_SPL_DM_RESET=y
65CONFIG_SPL_SPI_LOAD=y
Tom Rinic4359852023-10-02 10:35:27 -040066CONFIG_SYS_PROMPT="StarFive # "
Yanhong Wang2b517432023-06-15 17:36:50 +080067CONFIG_CMD_EEPROM=y
68CONFIG_SYS_EEPROM_SIZE=512
69CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
70CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080071CONFIG_CMD_MEMINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080072CONFIG_CMD_I2C=y
Mason Huo36d20ef2023-07-25 17:46:49 +080073CONFIG_CMD_PCI=y
Minda Chen480df8f2023-08-07 16:53:38 +080074CONFIG_CMD_USB=y
Chanho Park897bc902023-11-06 08:13:18 +090075CONFIG_CMD_WDT=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080076CONFIG_CMD_TFTPPUT=y
Chanho Park13d22202023-10-10 17:49:18 +090077CONFIG_CMD_BOOTSTAGE=y
Yanhong Wang2b517432023-06-15 17:36:50 +080078CONFIG_OF_BOARD=y
Tom Rinic4359852023-10-02 10:35:27 -040079CONFIG_ENV_OVERWRITE=y
Tom Rinic4359852023-10-02 10:35:27 -040080CONFIG_ENV_IS_IN_SPI_FLASH=y
81CONFIG_ENV_SECT_SIZE_AUTO=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080082CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang2b517432023-06-15 17:36:50 +080083CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080084CONFIG_REGMAP=y
85CONFIG_SYSCON=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080086CONFIG_SPL_CLK_COMPOSITE_CCF=y
87CONFIG_CLK_COMPOSITE_CCF=y
88CONFIG_SPL_CLK_JH7110=y
Yanhong Wang2b517432023-06-15 17:36:50 +080089CONFIG_DM_I2C=y
90CONFIG_SYS_I2C_DW=y
91CONFIG_MISC=y
92CONFIG_I2C_EEPROM=y
93CONFIG_SPL_I2C_EEPROM=y
94CONFIG_SYS_I2C_EEPROM_ADDR=0X50
Yanhong Wangaaa18522023-03-16 10:53:32 +080095CONFIG_MMC_HS400_SUPPORT=y
96CONFIG_SPL_MMC_HS400_SUPPORT=y
97CONFIG_MMC_DW=y
98CONFIG_MMC_DW_SNPS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080099CONFIG_SPI_FLASH_EON=y
100CONFIG_SPI_FLASH_GIGADEVICE=y
101CONFIG_SPI_FLASH_ISSI=y
102CONFIG_SPI_FLASH_MACRONIX=y
Yanhong Wang860b69a2023-06-15 17:36:47 +0800103CONFIG_PHY_MOTORCOMM=y
104CONFIG_DM_MDIO=y
105CONFIG_DM_ETH_PHY=y
106CONFIG_DWC_ETH_QOS=y
107CONFIG_DWC_ETH_QOS_STARFIVE=y
108CONFIG_RGMII=y
109CONFIG_RMII=y
Minda Chenac7a5102023-07-20 19:37:29 +0800110CONFIG_RTL8169=y
Mason Huo36d20ef2023-07-25 17:46:49 +0800111CONFIG_NVME_PCI=y
112CONFIG_DM_PCI_COMPAT=y
113CONFIG_PCI_REGION_MULTI_ENTRY=y
114CONFIG_PCIE_STARFIVE_JH7110=y
Yanhong Wangaaa18522023-03-16 10:53:32 +0800115CONFIG_PINCTRL=y
116CONFIG_PINCONF=y
117CONFIG_SPL_PINCTRL=y
118CONFIG_SPL_PINCONF=y
119CONFIG_SPL_PINCTRL_STARFIVE=y
120CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y
121CONFIG_PINCTRL_STARFIVE=y
122# CONFIG_RAM_SIFIVE is not set
Chanho Parke8a72792023-11-01 21:16:52 +0900123CONFIG_DM_RNG=y
124CONFIG_RNG_JH7110=y
Yanhong Wangaaa18522023-03-16 10:53:32 +0800125CONFIG_SYS_NS16550=y
126CONFIG_CADENCE_QSPI=y
Jaehoon Chunga79247f2023-10-31 17:24:39 +0900127CONFIG_SYSRESET=y
Yanhong Wangaaa18522023-03-16 10:53:32 +0800128CONFIG_TIMER_EARLY=y
Minda Chen480df8f2023-08-07 16:53:38 +0800129CONFIG_USB=y
130CONFIG_USB_XHCI_HCD=y
131CONFIG_USB_XHCI_PCI=y
Shengyu Qu8a084802023-08-22 22:33:56 +0800132CONFIG_USB_EHCI_HCD=y
133CONFIG_USB_EHCI_PCI=y
134CONFIG_USB_OHCI_HCD=y
135CONFIG_USB_OHCI_PCI=y
Minda Chen480df8f2023-08-07 16:53:38 +0800136CONFIG_USB_KEYBOARD=y
Chanho Park897bc902023-11-06 08:13:18 +0900137# CONFIG_WATCHDOG is not set
138# CONFIG_WATCHDOG_AUTOSTART is not set
139CONFIG_WDT=y
140CONFIG_WDT_STARFIVE=y