blob: 9c645d723258f49c5800e7b99163aea1cc2f214e [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"
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080013CONFIG_SPL_TEXT_BASE=0x8000000
Tom Rinic960c0f2023-05-01 11:50:26 -040014CONFIG_OF_LIBFDT_OVERLAY=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080015CONFIG_DM_RESET=y
16CONFIG_SPL_MMC=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080017CONFIG_SPL_DRIVERS_MISC=y
Yanhong Wang0eff3bf2023-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 Huocb2750e2023-07-25 17:46:49 +080023CONFIG_SYS_PCI_64BIT=y
24CONFIG_PCI=y
Yanhong Wang0eff3bf2023-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 Wang99f3a432023-06-15 17:36:50 +080030# CONFIG_OF_BOARD_FIXUP is not set
Tom Riniba6d5752023-10-02 10:35:27 -040031# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080032CONFIG_FIT=y
Tom Rinic960c0f2023-05-01 11:50:26 -040033CONFIG_DISTRO_DEFAULTS=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080034CONFIG_QSPI_BOOT=y
35CONFIG_SD_BOOT=y
Tom Riniec6f06b2023-10-02 13:58:20 -040036CONFIG_OF_BOARD_SETUP=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080037CONFIG_USE_BOOTARGS=y
38CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
39CONFIG_USE_PREBOOT=y
Shengyu Qudccf4a82023-08-22 22:33:56 +080040CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
Yanhong Wang9b7060b2023-06-15 17:36:45 +080041CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb"
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080042CONFIG_DISPLAY_CPUINFO=y
43CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080044CONFIG_ID_EEPROM=y
45CONFIG_SYS_EEPROM_BUS_NUM=5
Tom Riniba6d5752023-10-02 10:35:27 -040046CONFIG_PCI_INIT_R=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080047CONFIG_SPL_MAX_SIZE=0x40000
48CONFIG_SPL_PAD_TO=0x0
49CONFIG_SPL_BSS_START_ADDR=0x8040000
50CONFIG_SPL_BSS_MAX_SIZE=0x10000
51# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
52CONFIG_SYS_SPL_MALLOC=y
53CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
54CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000
55CONFIG_SYS_SPL_MALLOC_SIZE=0x400000
56CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
57CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang99f3a432023-06-15 17:36:50 +080058CONFIG_SPL_I2C=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080059CONFIG_SPL_DM_SPI_FLASH=y
60CONFIG_SPL_DM_RESET=y
61CONFIG_SPL_SPI_LOAD=y
Tom Riniba6d5752023-10-02 10:35:27 -040062CONFIG_SYS_PROMPT="StarFive # "
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080063CONFIG_SYS_CBSIZE=256
64CONFIG_SYS_PBSIZE=276
65CONFIG_SYS_BOOTM_LEN=0x4000000
Yanhong Wang99f3a432023-06-15 17:36:50 +080066CONFIG_CMD_EEPROM=y
67CONFIG_SYS_EEPROM_SIZE=512
68CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
69CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080070CONFIG_CMD_MEMINFO=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080071CONFIG_CMD_I2C=y
Mason Huocb2750e2023-07-25 17:46:49 +080072CONFIG_CMD_PCI=y
Minda Chen06656212023-08-07 16:53:38 +080073CONFIG_CMD_USB=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080074CONFIG_CMD_TFTPPUT=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080075CONFIG_OF_BOARD=y
Tom Riniba6d5752023-10-02 10:35:27 -040076CONFIG_ENV_OVERWRITE=y
77CONFIG_ENV_IS_NOWHERE=y
78CONFIG_ENV_IS_IN_SPI_FLASH=y
79CONFIG_ENV_SECT_SIZE_AUTO=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080080CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080081CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wanged430fe2023-06-15 17:36:47 +080082CONFIG_REGMAP=y
83CONFIG_SYSCON=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080084CONFIG_SPL_CLK_COMPOSITE_CCF=y
85CONFIG_CLK_COMPOSITE_CCF=y
86CONFIG_SPL_CLK_JH7110=y
Yanhong Wang99f3a432023-06-15 17:36:50 +080087CONFIG_DM_I2C=y
88CONFIG_SYS_I2C_DW=y
89CONFIG_MISC=y
90CONFIG_I2C_EEPROM=y
91CONFIG_SPL_I2C_EEPROM=y
92CONFIG_SYS_I2C_EEPROM_ADDR=0X50
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080093CONFIG_MMC_HS400_SUPPORT=y
94CONFIG_SPL_MMC_HS400_SUPPORT=y
95CONFIG_MMC_DW=y
96CONFIG_MMC_DW_SNPS=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +080097CONFIG_SPI_FLASH_EON=y
98CONFIG_SPI_FLASH_GIGADEVICE=y
99CONFIG_SPI_FLASH_ISSI=y
100CONFIG_SPI_FLASH_MACRONIX=y
Yanhong Wanged430fe2023-06-15 17:36:47 +0800101CONFIG_PHY_MOTORCOMM=y
102CONFIG_DM_MDIO=y
103CONFIG_DM_ETH_PHY=y
104CONFIG_DWC_ETH_QOS=y
105CONFIG_DWC_ETH_QOS_STARFIVE=y
106CONFIG_RGMII=y
107CONFIG_RMII=y
Minda Chen493c03f2023-07-20 19:37:29 +0800108CONFIG_RTL8169=y
Mason Huocb2750e2023-07-25 17:46:49 +0800109CONFIG_NVME_PCI=y
110CONFIG_DM_PCI_COMPAT=y
111CONFIG_PCI_REGION_MULTI_ENTRY=y
112CONFIG_PCIE_STARFIVE_JH7110=y
Yanhong Wang0eff3bf2023-03-16 10:53:32 +0800113CONFIG_PINCTRL=y
114CONFIG_PINCONF=y
115CONFIG_SPL_PINCTRL=y
116CONFIG_SPL_PINCONF=y
117CONFIG_SPL_PINCTRL_STARFIVE=y
118CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y
119CONFIG_PINCTRL_STARFIVE=y
120# CONFIG_RAM_SIFIVE is not set
121CONFIG_SYS_NS16550=y
122CONFIG_CADENCE_QSPI=y
123CONFIG_TIMER_EARLY=y
Minda Chen06656212023-08-07 16:53:38 +0800124CONFIG_USB=y
125CONFIG_USB_XHCI_HCD=y
126CONFIG_USB_XHCI_PCI=y
Shengyu Qudccf4a82023-08-22 22:33:56 +0800127CONFIG_USB_EHCI_HCD=y
128CONFIG_USB_EHCI_PCI=y
129CONFIG_USB_OHCI_HCD=y
130CONFIG_USB_OHCI_PCI=y
Minda Chen06656212023-08-07 16:53:38 +0800131CONFIG_USB_KEYBOARD=y