blob: 8abe645cd111a387c87a216f12596f4d41a04950 [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_SUPPORT=y
10CONFIG_SAVEENV=y
11CONFIG_ENV_OVERWRITE=y
12CONFIG_ENV_IS_NOWHERE=y
13CONFIG_ENV_IS_IN_SPI_FLASH=y
14CONFIG_ENV_SECT_SIZE_AUTO=y
15CONFIG_ENV_SIZE=0x10000
16CONFIG_ENV_OFFSET=0xf0000
17CONFIG_ENV_SECT_SIZE=0x10000
Yanhong Wangaaa18522023-03-16 10:53:32 +080018CONFIG_SPL_DM_SPI=y
Yanhong Wang438ab1e2023-06-15 17:36:45 +080019CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2"
Yanhong Wangaaa18522023-03-16 10:53:32 +080020CONFIG_SPL_TEXT_BASE=0x8000000
Chanho Park25993a42023-07-14 18:41:08 +090021CONFIG_SYS_PROMPT="StarFive # "
Tom Rinia77d6f82023-05-01 11:50:26 -040022CONFIG_OF_LIBFDT_OVERLAY=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080023CONFIG_DM_RESET=y
24CONFIG_SPL_MMC=y
Yanhong Wang2b517432023-06-15 17:36:50 +080025CONFIG_SPL_DRIVERS_MISC=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080026CONFIG_SPL_STACK=0x8180000
27CONFIG_SPL=y
28CONFIG_SPL_SPI_FLASH_SUPPORT=y
29CONFIG_SPL_SPI=y
30CONFIG_SYS_LOAD_ADDR=0x82000000
Mason Huo36d20ef2023-07-25 17:46:49 +080031CONFIG_SYS_PCI_64BIT=y
32CONFIG_PCI=y
Shengyu Qu8a084802023-08-22 22:33:56 +080033CONFIG_PCI_INIT_R=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080034CONFIG_TARGET_STARFIVE_VISIONFIVE2=y
35CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000
36CONFIG_ARCH_RV64I=y
37CONFIG_CMODEL_MEDANY=y
38CONFIG_RISCV_SMODE=y
Shengyu Qu4eca16a2023-09-17 03:36:32 +080039CONFIG_OF_BOARD_SETUP=y
Yanhong Wang2b517432023-06-15 17:36:50 +080040# CONFIG_OF_BOARD_FIXUP is not set
Yanhong Wangaaa18522023-03-16 10:53:32 +080041CONFIG_FIT=y
Tom Rinia77d6f82023-05-01 11:50:26 -040042CONFIG_DISTRO_DEFAULTS=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080043CONFIG_QSPI_BOOT=y
44CONFIG_SD_BOOT=y
45CONFIG_USE_BOOTARGS=y
46CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi"
47CONFIG_USE_PREBOOT=y
Shengyu Qu8a084802023-08-22 22:33:56 +080048CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
Yanhong Wang438ab1e2023-06-15 17:36:45 +080049CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb"
Yanhong Wangaaa18522023-03-16 10:53:32 +080050CONFIG_DISPLAY_CPUINFO=y
51CONFIG_DISPLAY_BOARDINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080052CONFIG_ID_EEPROM=y
53CONFIG_SYS_EEPROM_BUS_NUM=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080054CONFIG_SPL_MAX_SIZE=0x40000
55CONFIG_SPL_PAD_TO=0x0
56CONFIG_SPL_BSS_START_ADDR=0x8040000
57CONFIG_SPL_BSS_MAX_SIZE=0x10000
58# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
59CONFIG_SYS_SPL_MALLOC=y
60CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
61CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000
62CONFIG_SYS_SPL_MALLOC_SIZE=0x400000
Shengyu Qu564e0b52023-08-25 00:25:21 +080063# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
64CONFIG_SPL_SYS_MALLOC_CLEAR_ON_INIT=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080065CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
66CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
Yanhong Wang2b517432023-06-15 17:36:50 +080067CONFIG_SPL_I2C=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080068CONFIG_SPL_DM_SPI_FLASH=y
69CONFIG_SPL_DM_RESET=y
70CONFIG_SPL_SPI_LOAD=y
71CONFIG_SYS_CBSIZE=256
72CONFIG_SYS_PBSIZE=276
73CONFIG_SYS_BOOTM_LEN=0x4000000
Yanhong Wang2b517432023-06-15 17:36:50 +080074CONFIG_CMD_EEPROM=y
75CONFIG_SYS_EEPROM_SIZE=512
76CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
77CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
Yanhong Wangaaa18522023-03-16 10:53:32 +080078CONFIG_CMD_MEMINFO=y
Yanhong Wang2b517432023-06-15 17:36:50 +080079CONFIG_CMD_I2C=y
Mason Huo36d20ef2023-07-25 17:46:49 +080080CONFIG_CMD_PCI=y
Minda Chen480df8f2023-08-07 16:53:38 +080081CONFIG_CMD_USB=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080082CONFIG_CMD_TFTPPUT=y
Yanhong Wang2b517432023-06-15 17:36:50 +080083CONFIG_OF_BOARD=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080084CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Yanhong Wang2b517432023-06-15 17:36:50 +080085CONFIG_SPL_DM_SEQ_ALIAS=y
Yanhong Wang860b69a2023-06-15 17:36:47 +080086CONFIG_REGMAP=y
87CONFIG_SYSCON=y
Yanhong Wangaaa18522023-03-16 10:53:32 +080088CONFIG_SPL_CLK_COMPOSITE_CCF=y
89CONFIG_CLK_COMPOSITE_CCF=y
90CONFIG_SPL_CLK_JH7110=y
Yanhong Wang2b517432023-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 Wangaaa18522023-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 Wangaaa18522023-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 Wang860b69a2023-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 Chenac7a5102023-07-20 19:37:29 +0800112CONFIG_RTL8169=y
Mason Huo36d20ef2023-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 Wangaaa18522023-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
125CONFIG_SYS_NS16550=y
126CONFIG_CADENCE_QSPI=y
127CONFIG_TIMER_EARLY=y
Minda Chen480df8f2023-08-07 16:53:38 +0800128CONFIG_USB=y
129CONFIG_USB_XHCI_HCD=y
130CONFIG_USB_XHCI_PCI=y
Shengyu Qu8a084802023-08-22 22:33:56 +0800131CONFIG_USB_EHCI_HCD=y
132CONFIG_USB_EHCI_PCI=y
133CONFIG_USB_OHCI_HCD=y
134CONFIG_USB_OHCI_PCI=y
135CONFIG_USB_STORAGE=y
Minda Chen480df8f2023-08-07 16:53:38 +0800136CONFIG_USB_KEYBOARD=y