Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 1 | CONFIG_RISCV=y |
| 2 | CONFIG_SYS_MALLOC_LEN=0x800000 |
| 3 | CONFIG_SYS_MALLOC_F_LEN=0x10000 |
| 4 | CONFIG_SPL_GPIO=y |
| 5 | CONFIG_NR_DRAM_BANKS=1 |
| 6 | CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y |
| 7 | CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80000000 |
Tom Rini | a77d6f8 | 2023-05-01 11:50:26 -0400 | [diff] [blame] | 8 | CONFIG_SF_DEFAULT_SPEED=100000000 |
Shengyu Qu | d13efc3 | 2023-08-08 21:14:36 +0800 | [diff] [blame] | 9 | CONFIG_ENV_SIZE=0x10000 |
| 10 | CONFIG_ENV_OFFSET=0xf0000 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 11 | CONFIG_SPL_DM_SPI=y |
Yanhong Wang | 438ab1e | 2023-06-15 17:36:45 +0800 | [diff] [blame] | 12 | CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2" |
Tom Rini | a77d6f8 | 2023-05-01 11:50:26 -0400 | [diff] [blame] | 13 | CONFIG_OF_LIBFDT_OVERLAY=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 14 | CONFIG_DM_RESET=y |
| 15 | CONFIG_SPL_MMC=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 16 | CONFIG_SPL_DRIVERS_MISC=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 17 | CONFIG_SPL_STACK=0x8180000 |
Tom Rini | 27280b6 | 2024-11-12 13:45:12 -0600 | [diff] [blame] | 18 | CONFIG_SPL_TEXT_BASE=0x8000000 |
Tom Rini | b9dc684 | 2024-04-22 17:24:09 -0600 | [diff] [blame] | 19 | CONFIG_SPL_BSS_START_ADDR=0x8040000 |
| 20 | CONFIG_SPL_BSS_MAX_SIZE=0x10000 |
Tom Rini | c427a58 | 2024-10-08 09:18:32 -0600 | [diff] [blame] | 21 | CONFIG_SYS_BOOTM_LEN=0x4000000 |
| 22 | CONFIG_SYS_LOAD_ADDR=0x82000000 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 23 | CONFIG_SPL=y |
| 24 | CONFIG_SPL_SPI_FLASH_SUPPORT=y |
| 25 | CONFIG_SPL_SPI=y |
Mason Huo | 36d20ef | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 26 | CONFIG_SYS_PCI_64BIT=y |
| 27 | CONFIG_PCI=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 28 | CONFIG_TARGET_STARFIVE_VISIONFIVE2=y |
| 29 | CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 |
| 30 | CONFIG_ARCH_RV64I=y |
| 31 | CONFIG_CMODEL_MEDANY=y |
| 32 | CONFIG_RISCV_SMODE=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 33 | # CONFIG_OF_BOARD_FIXUP is not set |
Tom Rini | c435985 | 2023-10-02 10:35:27 -0400 | [diff] [blame] | 34 | # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 35 | CONFIG_FIT=y |
Nam Cao | 6d80863 | 2024-02-21 13:00:14 +0100 | [diff] [blame] | 36 | CONFIG_BOOTSTD_DEFAULTS=y |
Chanho Park | 13d2220 | 2023-10-10 17:49:18 +0900 | [diff] [blame] | 37 | CONFIG_BOOTSTAGE=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 38 | CONFIG_QSPI_BOOT=y |
| 39 | CONFIG_SD_BOOT=y |
Tom Rini | 8d3a588 | 2023-10-02 13:58:20 -0400 | [diff] [blame] | 40 | CONFIG_OF_BOARD_SETUP=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 41 | CONFIG_USE_BOOTARGS=y |
| 42 | CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi" |
| 43 | CONFIG_USE_PREBOOT=y |
Shengyu Qu | 8a08480 | 2023-08-22 22:33:56 +0800 | [diff] [blame] | 44 | CONFIG_PREBOOT="nvme scan; usb start; setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};" |
Tom Rini | 914a8c0 | 2024-01-03 09:26:16 -0500 | [diff] [blame] | 45 | CONFIG_SYS_CBSIZE=256 |
| 46 | CONFIG_SYS_PBSIZE=276 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 47 | CONFIG_DISPLAY_CPUINFO=y |
| 48 | CONFIG_DISPLAY_BOARDINFO=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 49 | CONFIG_ID_EEPROM=y |
| 50 | CONFIG_SYS_EEPROM_BUS_NUM=5 |
Tom Rini | c435985 | 2023-10-02 10:35:27 -0400 | [diff] [blame] | 51 | CONFIG_PCI_INIT_R=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 52 | CONFIG_SPL_MAX_SIZE=0x40000 |
| 53 | CONFIG_SPL_PAD_TO=0x0 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 54 | # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set |
Simon Glass | 67e3fca | 2023-09-26 08:14:16 -0600 | [diff] [blame] | 55 | CONFIG_SPL_SYS_MALLOC=y |
| 56 | CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y |
| 57 | CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000 |
Tom Rini | 27280b6 | 2024-11-12 13:45:12 -0600 | [diff] [blame] | 58 | CONFIG_SPL_SYS_MALLOC_SIZE=0x400000 |
Andreas Schwab | 0a6592c | 2024-10-30 14:46:39 +0100 | [diff] [blame] | 59 | CONFIG_SPL_SYS_MMCSD_RAW_MODE=y |
| 60 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y |
| 61 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2 |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 62 | CONFIG_SPL_I2C=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 63 | CONFIG_SPL_DM_SPI_FLASH=y |
| 64 | CONFIG_SPL_DM_RESET=y |
| 65 | CONFIG_SPL_SPI_LOAD=y |
Heinrich Schuchardt | 4a50038 | 2024-05-12 06:25:25 +0200 | [diff] [blame] | 66 | CONFIG_SPL_YMODEM_SUPPORT=y |
Tom Rini | c435985 | 2023-10-02 10:35:27 -0400 | [diff] [blame] | 67 | CONFIG_SYS_PROMPT="StarFive # " |
Heinrich Schuchardt | f9c2c9c | 2024-10-19 10:31:09 +0200 | [diff] [blame] | 68 | CONFIG_CMD_ERASEENV=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 69 | CONFIG_CMD_EEPROM=y |
| 70 | CONFIG_SYS_EEPROM_SIZE=512 |
| 71 | CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4 |
| 72 | CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 73 | CONFIG_CMD_MEMINFO=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 74 | CONFIG_CMD_I2C=y |
Mason Huo | 36d20ef | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 75 | CONFIG_CMD_PCI=y |
Minda Chen | 480df8f | 2023-08-07 16:53:38 +0800 | [diff] [blame] | 76 | CONFIG_CMD_USB=y |
Chanho Park | 897bc90 | 2023-11-06 08:13:18 +0900 | [diff] [blame] | 77 | CONFIG_CMD_WDT=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 78 | CONFIG_CMD_TFTPPUT=y |
Chanho Park | 13d2220 | 2023-10-10 17:49:18 +0900 | [diff] [blame] | 79 | CONFIG_CMD_BOOTSTAGE=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 80 | CONFIG_OF_BOARD=y |
Tom Rini | c435985 | 2023-10-02 10:35:27 -0400 | [diff] [blame] | 81 | CONFIG_ENV_OVERWRITE=y |
Tom Rini | c435985 | 2023-10-02 10:35:27 -0400 | [diff] [blame] | 82 | CONFIG_ENV_IS_IN_SPI_FLASH=y |
| 83 | CONFIG_ENV_SECT_SIZE_AUTO=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 84 | CONFIG_SYS_RELOC_GD_ENV_ADDR=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 85 | CONFIG_SPL_DM_SEQ_ALIAS=y |
Yanhong Wang | 860b69a | 2023-06-15 17:36:47 +0800 | [diff] [blame] | 86 | CONFIG_REGMAP=y |
| 87 | CONFIG_SYSCON=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 88 | CONFIG_SPL_CLK_COMPOSITE_CCF=y |
| 89 | CONFIG_CLK_COMPOSITE_CCF=y |
| 90 | CONFIG_SPL_CLK_JH7110=y |
Yanhong Wang | 2b51743 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 91 | CONFIG_DM_I2C=y |
| 92 | CONFIG_SYS_I2C_DW=y |
| 93 | CONFIG_MISC=y |
| 94 | CONFIG_I2C_EEPROM=y |
| 95 | CONFIG_SPL_I2C_EEPROM=y |
| 96 | CONFIG_SYS_I2C_EEPROM_ADDR=0X50 |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 97 | CONFIG_MMC_HS400_SUPPORT=y |
| 98 | CONFIG_SPL_MMC_HS400_SUPPORT=y |
| 99 | CONFIG_MMC_DW=y |
| 100 | CONFIG_MMC_DW_SNPS=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 101 | CONFIG_SPI_FLASH_EON=y |
| 102 | CONFIG_SPI_FLASH_GIGADEVICE=y |
| 103 | CONFIG_SPI_FLASH_ISSI=y |
| 104 | CONFIG_SPI_FLASH_MACRONIX=y |
Yanhong Wang | 860b69a | 2023-06-15 17:36:47 +0800 | [diff] [blame] | 105 | CONFIG_PHY_MOTORCOMM=y |
| 106 | CONFIG_DM_MDIO=y |
| 107 | CONFIG_DM_ETH_PHY=y |
| 108 | CONFIG_DWC_ETH_QOS=y |
| 109 | CONFIG_DWC_ETH_QOS_STARFIVE=y |
| 110 | CONFIG_RGMII=y |
| 111 | CONFIG_RMII=y |
Minda Chen | ac7a510 | 2023-07-20 19:37:29 +0800 | [diff] [blame] | 112 | CONFIG_RTL8169=y |
Mason Huo | 36d20ef | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 113 | CONFIG_NVME_PCI=y |
| 114 | CONFIG_DM_PCI_COMPAT=y |
| 115 | CONFIG_PCI_REGION_MULTI_ENTRY=y |
| 116 | CONFIG_PCIE_STARFIVE_JH7110=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 117 | CONFIG_PINCTRL=y |
| 118 | CONFIG_PINCONF=y |
| 119 | CONFIG_SPL_PINCTRL=y |
| 120 | CONFIG_SPL_PINCONF=y |
| 121 | CONFIG_SPL_PINCTRL_STARFIVE=y |
| 122 | CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y |
| 123 | CONFIG_PINCTRL_STARFIVE=y |
| 124 | # CONFIG_RAM_SIFIVE is not set |
Chanho Park | e8a7279 | 2023-11-01 21:16:52 +0900 | [diff] [blame] | 125 | CONFIG_DM_RNG=y |
| 126 | CONFIG_RNG_JH7110=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 127 | CONFIG_SYS_NS16550=y |
| 128 | CONFIG_CADENCE_QSPI=y |
Jaehoon Chung | a79247f | 2023-10-31 17:24:39 +0900 | [diff] [blame] | 129 | CONFIG_SYSRESET=y |
Yanhong Wang | aaa1852 | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 130 | CONFIG_TIMER_EARLY=y |
Minda Chen | 480df8f | 2023-08-07 16:53:38 +0800 | [diff] [blame] | 131 | CONFIG_USB=y |
| 132 | CONFIG_USB_XHCI_HCD=y |
| 133 | CONFIG_USB_XHCI_PCI=y |
Shengyu Qu | 8a08480 | 2023-08-22 22:33:56 +0800 | [diff] [blame] | 134 | CONFIG_USB_EHCI_HCD=y |
| 135 | CONFIG_USB_EHCI_PCI=y |
| 136 | CONFIG_USB_OHCI_HCD=y |
| 137 | CONFIG_USB_OHCI_PCI=y |
Minda Chen | 480df8f | 2023-08-07 16:53:38 +0800 | [diff] [blame] | 138 | CONFIG_USB_KEYBOARD=y |
Chanho Park | 897bc90 | 2023-11-06 08:13:18 +0900 | [diff] [blame] | 139 | # CONFIG_WATCHDOG is not set |
| 140 | # CONFIG_WATCHDOG_AUTOSTART is not set |
| 141 | CONFIG_WDT=y |
| 142 | CONFIG_WDT_STARFIVE=y |