blob: 1c70d1d4b70e0d3ceef87cd23e9043c545612c23 [file] [log] [blame]
Yanhong Wang0eff3bf2023-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 Rinic960c0f2023-05-01 11:50:26 -04008CONFIG_SF_DEFAULT_SPEED=100000000
Shengyu Qu7d79bed2023-08-08 21:14:36 +08009CONFIG_ENV_SIZE=0x10000
10CONFIG_ENV_OFFSET=0xf0000
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080011CONFIG_SPL_DM_SPI=y
Yanhong Wang9b7060b2023-06-15 17:36:45 +080012CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2"
Tom Rinic960c0f2023-05-01 11:50:26 -040013CONFIG_OF_LIBFDT_OVERLAY=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080014CONFIG_DM_RESET=y
15CONFIG_SPL_MMC=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080016CONFIG_SPL_DRIVERS_MISC=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080017CONFIG_SPL_STACK=0x8180000
Tom Rini867e16a2024-11-12 13:45:12 -060018CONFIG_SPL_TEXT_BASE=0x8000000
Tom Rini18e791c2024-04-22 17:24:09 -060019CONFIG_SPL_BSS_START_ADDR=0x8040000
20CONFIG_SPL_BSS_MAX_SIZE=0x10000
Tom Rinid8927022024-10-08 09:18:32 -060021CONFIG_SYS_BOOTM_LEN=0x4000000
22CONFIG_SYS_LOAD_ADDR=0x82000000
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080023CONFIG_SPL=y
24CONFIG_SPL_SPI_FLASH_SUPPORT=y
25CONFIG_SPL_SPI=y
Mason Huocb2750e2023-07-25 17:46:49 +080026CONFIG_SYS_PCI_64BIT=y
27CONFIG_PCI=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080028CONFIG_TARGET_STARFIVE_VISIONFIVE2=y
29CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000
30CONFIG_ARCH_RV64I=y
31CONFIG_CMODEL_MEDANY=y
32CONFIG_RISCV_SMODE=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080033# CONFIG_OF_BOARD_FIXUP is not set
Tom Riniba6d5752023-10-02 10:35:27 -040034# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080035CONFIG_FIT=y
Nam Caoe3a904a2024-02-21 13:00:14 +010036CONFIG_BOOTSTD_DEFAULTS=y
Chanho Parke96e5372023-10-10 17:49:18 +090037CONFIG_BOOTSTAGE=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080038CONFIG_QSPI_BOOT=y
39CONFIG_SD_BOOT=y
Tom Riniec6f06b2023-10-02 13:58:20 -040040CONFIG_OF_BOARD_SETUP=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080041CONFIG_USE_BOOTARGS=y
42CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
43CONFIG_USE_PREBOOT=y
Shengyu Qudccf4a82023-08-22 22:33:56 +080044CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
Tom Rini42fb4482024-01-03 09:26:16 -050045CONFIG_SYS_CBSIZE=256
46CONFIG_SYS_PBSIZE=276
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080047CONFIG_DISPLAY_CPUINFO=y
48CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080049CONFIG_ID_EEPROM=y
50CONFIG_SYS_EEPROM_BUS_NUM=5
Tom Riniba6d5752023-10-02 10:35:27 -040051CONFIG_PCI_INIT_R=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080052CONFIG_SPL_MAX_SIZE=0x40000
53CONFIG_SPL_PAD_TO=0x0
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080054# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
Simon Glass82e26e02023-09-26 08:14:16 -060055CONFIG_SPL_SYS_MALLOC=y
56CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
57CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
Tom Rini867e16a2024-11-12 13:45:12 -060058CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
Andreas Schwabe83a99c2024-10-30 14:46:39 +010059CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
60CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
61CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang99f3a432023-06-15 17:36:50 +080062CONFIG_SPL_I2C=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080063CONFIG_SPL_DM_SPI_FLASH=y
64CONFIG_SPL_DM_RESET=y
65CONFIG_SPL_SPI_LOAD=y
Heinrich Schuchardt215dc022024-05-12 06:25:25 +020066CONFIG_SPL_YMODEM_SUPPORT=y
Tom Riniba6d5752023-10-02 10:35:27 -040067CONFIG_SYS_PROMPT="StarFive # "
Heinrich Schuchardt1e24a8d2024-10-19 10:31:09 +020068CONFIG_CMD_ERASEENV=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080069CONFIG_CMD_EEPROM=y
70CONFIG_SYS_EEPROM_SIZE=512
71CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
72CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080073CONFIG_CMD_MEMINFO=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080074CONFIG_CMD_I2C=y
Mason Huocb2750e2023-07-25 17:46:49 +080075CONFIG_CMD_PCI=y
Minda Chen06656212023-08-07 16:53:38 +080076CONFIG_CMD_USB=y
Chanho Park21ea9a92023-11-06 08:13:18 +090077CONFIG_CMD_WDT=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080078CONFIG_CMD_TFTPPUT=y
Chanho Parke96e5372023-10-10 17:49:18 +090079CONFIG_CMD_BOOTSTAGE=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080080CONFIG_OF_BOARD=y
Tom Riniba6d5752023-10-02 10:35:27 -040081CONFIG_ENV_OVERWRITE=y
Tom Riniba6d5752023-10-02 10:35:27 -040082CONFIG_ENV_IS_IN_SPI_FLASH=y
83CONFIG_ENV_SECT_SIZE_AUTO=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080084CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080085CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wanged430fe2023-06-15 17:36:47 +080086CONFIG_REGMAP=y
87CONFIG_SYSCON=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080088CONFIG_SPL_CLK_COMPOSITE_CCF=y
89CONFIG_CLK_COMPOSITE_CCF=y
90CONFIG_SPL_CLK_JH7110=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080091CONFIG_DM_I2C=y
92CONFIG_SYS_I2C_DW=y
93CONFIG_MISC=y
94CONFIG_I2C_EEPROM=y
95CONFIG_SPL_I2C_EEPROM=y
96CONFIG_SYS_I2C_EEPROM_ADDR=0X50
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080097CONFIG_MMC_HS400_SUPPORT=y
98CONFIG_SPL_MMC_HS400_SUPPORT=y
99CONFIG_MMC_DW=y
100CONFIG_MMC_DW_SNPS=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +0800101CONFIG_SPI_FLASH_EON=y
102CONFIG_SPI_FLASH_GIGADEVICE=y
103CONFIG_SPI_FLASH_ISSI=y
104CONFIG_SPI_FLASH_MACRONIX=y
Yanhong Wanged430fe2023-06-15 17:36:47 +0800105CONFIG_PHY_MOTORCOMM=y
106CONFIG_DM_MDIO=y
107CONFIG_DM_ETH_PHY=y
108CONFIG_DWC_ETH_QOS=y
109CONFIG_DWC_ETH_QOS_STARFIVE=y
110CONFIG_RGMII=y
111CONFIG_RMII=y
Minda Chen493c03f2023-07-20 19:37:29 +0800112CONFIG_RTL8169=y
Mason Huocb2750e2023-07-25 17:46:49 +0800113CONFIG_NVME_PCI=y
114CONFIG_DM_PCI_COMPAT=y
115CONFIG_PCI_REGION_MULTI_ENTRY=y
116CONFIG_PCIE_STARFIVE_JH7110=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +0800117CONFIG_PINCTRL=y
118CONFIG_PINCONF=y
119CONFIG_SPL_PINCTRL=y
120CONFIG_SPL_PINCONF=y
121CONFIG_SPL_PINCTRL_STARFIVE=y
122CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y
123CONFIG_PINCTRL_STARFIVE=y
124# CONFIG_RAM_SIFIVE is not set
Chanho Park9d22d4a2023-11-01 21:16:52 +0900125CONFIG_DM_RNG=y
126CONFIG_RNG_JH7110=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +0800127CONFIG_SYS_NS16550=y
128CONFIG_CADENCE_QSPI=y
Jaehoon Chung0d14f042023-10-31 17:24:39 +0900129CONFIG_SYSRESET=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +0800130CONFIG_TIMER_EARLY=y
Minda Chen06656212023-08-07 16:53:38 +0800131CONFIG_USB=y
132CONFIG_USB_XHCI_HCD=y
133CONFIG_USB_XHCI_PCI=y
Shengyu Qudccf4a82023-08-22 22:33:56 +0800134CONFIG_USB_EHCI_HCD=y
135CONFIG_USB_EHCI_PCI=y
136CONFIG_USB_OHCI_HCD=y
137CONFIG_USB_OHCI_PCI=y
Minda Chen06656212023-08-07 16:53:38 +0800138CONFIG_USB_KEYBOARD=y
Chanho Park21ea9a92023-11-06 08:13:18 +0900139# CONFIG_WATCHDOG is not set
140# CONFIG_WATCHDOG_AUTOSTART is not set
141CONFIG_WDT=y
142CONFIG_WDT_STARFIVE=y