Yanhong Wang | 0eff3bf | 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 | c960c0f | 2023-05-01 11:50:26 -0400 | [diff] [blame] | 8 | CONFIG_SF_DEFAULT_SPEED=100000000 |
Shengyu Qu | 7d79bed | 2023-08-08 21:14:36 +0800 | [diff] [blame] | 9 | CONFIG_ENV_SUPPORT=y |
| 10 | CONFIG_SAVEENV=y |
| 11 | CONFIG_ENV_OVERWRITE=y |
| 12 | CONFIG_ENV_IS_NOWHERE=y |
| 13 | CONFIG_ENV_IS_IN_SPI_FLASH=y |
| 14 | CONFIG_ENV_SECT_SIZE_AUTO=y |
| 15 | CONFIG_ENV_SIZE=0x10000 |
| 16 | CONFIG_ENV_OFFSET=0xf0000 |
| 17 | CONFIG_ENV_SECT_SIZE=0x10000 |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 18 | CONFIG_SPL_DM_SPI=y |
Yanhong Wang | 9b7060b | 2023-06-15 17:36:45 +0800 | [diff] [blame] | 19 | CONFIG_DEFAULT_DEVICE_TREE="jh7110-starfive-visionfive-2" |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 20 | CONFIG_SPL_TEXT_BASE=0x8000000 |
Chanho Park | 43cefb4 | 2023-07-14 18:41:08 +0900 | [diff] [blame] | 21 | CONFIG_SYS_PROMPT="StarFive # " |
Tom Rini | c960c0f | 2023-05-01 11:50:26 -0400 | [diff] [blame] | 22 | CONFIG_OF_LIBFDT_OVERLAY=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 23 | CONFIG_DM_RESET=y |
| 24 | CONFIG_SPL_MMC=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 25 | CONFIG_SPL_DRIVERS_MISC=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 26 | CONFIG_SPL_STACK=0x8180000 |
| 27 | CONFIG_SPL=y |
| 28 | CONFIG_SPL_SPI_FLASH_SUPPORT=y |
| 29 | CONFIG_SPL_SPI=y |
| 30 | CONFIG_SYS_LOAD_ADDR=0x82000000 |
Mason Huo | cb2750e | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 31 | CONFIG_SYS_PCI_64BIT=y |
| 32 | CONFIG_PCI=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 33 | CONFIG_TARGET_STARFIVE_VISIONFIVE2=y |
| 34 | CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 |
| 35 | CONFIG_ARCH_RV64I=y |
| 36 | CONFIG_CMODEL_MEDANY=y |
| 37 | CONFIG_RISCV_SMODE=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 38 | # CONFIG_OF_BOARD_FIXUP is not set |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 39 | CONFIG_FIT=y |
Tom Rini | c960c0f | 2023-05-01 11:50:26 -0400 | [diff] [blame] | 40 | CONFIG_DISTRO_DEFAULTS=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 41 | CONFIG_QSPI_BOOT=y |
| 42 | CONFIG_SD_BOOT=y |
| 43 | CONFIG_USE_BOOTARGS=y |
| 44 | CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon=sbi" |
| 45 | CONFIG_USE_PREBOOT=y |
| 46 | CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};" |
Yanhong Wang | 9b7060b | 2023-06-15 17:36:45 +0800 | [diff] [blame] | 47 | CONFIG_DEFAULT_FDT_FILE="starfive/jh7110-starfive-visionfive-2.dtb" |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 48 | CONFIG_DISPLAY_CPUINFO=y |
| 49 | CONFIG_DISPLAY_BOARDINFO=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 50 | CONFIG_ID_EEPROM=y |
| 51 | CONFIG_SYS_EEPROM_BUS_NUM=5 |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 52 | CONFIG_SPL_MAX_SIZE=0x40000 |
| 53 | CONFIG_SPL_PAD_TO=0x0 |
| 54 | CONFIG_SPL_BSS_START_ADDR=0x8040000 |
| 55 | CONFIG_SPL_BSS_MAX_SIZE=0x10000 |
| 56 | # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set |
| 57 | CONFIG_SYS_SPL_MALLOC=y |
| 58 | CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y |
| 59 | CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000 |
| 60 | CONFIG_SYS_SPL_MALLOC_SIZE=0x400000 |
| 61 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y |
| 62 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2 |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 63 | CONFIG_SPL_I2C=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 64 | CONFIG_SPL_DM_SPI_FLASH=y |
| 65 | CONFIG_SPL_DM_RESET=y |
| 66 | CONFIG_SPL_SPI_LOAD=y |
| 67 | CONFIG_SYS_CBSIZE=256 |
| 68 | CONFIG_SYS_PBSIZE=276 |
| 69 | CONFIG_SYS_BOOTM_LEN=0x4000000 |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 70 | CONFIG_CMD_EEPROM=y |
| 71 | CONFIG_SYS_EEPROM_SIZE=512 |
| 72 | CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4 |
| 73 | CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5 |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 74 | CONFIG_CMD_MEMINFO=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 75 | CONFIG_CMD_I2C=y |
Mason Huo | cb2750e | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 76 | CONFIG_CMD_PCI=y |
Minda Chen | 0665621 | 2023-08-07 16:53:38 +0800 | [diff] [blame] | 77 | CONFIG_CMD_USB=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 78 | CONFIG_CMD_TFTPPUT=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 79 | CONFIG_OF_BOARD=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 80 | CONFIG_SYS_RELOC_GD_ENV_ADDR=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 81 | CONFIG_SPL_DM_SEQ_ALIAS=y |
Yanhong Wang | ed430fe | 2023-06-15 17:36:47 +0800 | [diff] [blame] | 82 | CONFIG_REGMAP=y |
| 83 | CONFIG_SYSCON=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 84 | CONFIG_SPL_CLK_COMPOSITE_CCF=y |
| 85 | CONFIG_CLK_COMPOSITE_CCF=y |
| 86 | CONFIG_SPL_CLK_JH7110=y |
Yanhong Wang | 99f3a43 | 2023-06-15 17:36:50 +0800 | [diff] [blame] | 87 | CONFIG_DM_I2C=y |
| 88 | CONFIG_SYS_I2C_DW=y |
| 89 | CONFIG_MISC=y |
| 90 | CONFIG_I2C_EEPROM=y |
| 91 | CONFIG_SPL_I2C_EEPROM=y |
| 92 | CONFIG_SYS_I2C_EEPROM_ADDR=0X50 |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 93 | CONFIG_MMC_HS400_SUPPORT=y |
| 94 | CONFIG_SPL_MMC_HS400_SUPPORT=y |
| 95 | CONFIG_MMC_DW=y |
| 96 | CONFIG_MMC_DW_SNPS=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 97 | CONFIG_SPI_FLASH_EON=y |
| 98 | CONFIG_SPI_FLASH_GIGADEVICE=y |
| 99 | CONFIG_SPI_FLASH_ISSI=y |
| 100 | CONFIG_SPI_FLASH_MACRONIX=y |
Yanhong Wang | ed430fe | 2023-06-15 17:36:47 +0800 | [diff] [blame] | 101 | CONFIG_PHY_MOTORCOMM=y |
| 102 | CONFIG_DM_MDIO=y |
| 103 | CONFIG_DM_ETH_PHY=y |
| 104 | CONFIG_DWC_ETH_QOS=y |
| 105 | CONFIG_DWC_ETH_QOS_STARFIVE=y |
| 106 | CONFIG_RGMII=y |
| 107 | CONFIG_RMII=y |
Minda Chen | 493c03f | 2023-07-20 19:37:29 +0800 | [diff] [blame] | 108 | CONFIG_RTL8169=y |
Mason Huo | cb2750e | 2023-07-25 17:46:49 +0800 | [diff] [blame] | 109 | CONFIG_NVME_PCI=y |
| 110 | CONFIG_DM_PCI_COMPAT=y |
| 111 | CONFIG_PCI_REGION_MULTI_ENTRY=y |
| 112 | CONFIG_PCIE_STARFIVE_JH7110=y |
Yanhong Wang | 0eff3bf | 2023-03-16 10:53:32 +0800 | [diff] [blame] | 113 | CONFIG_PINCTRL=y |
| 114 | CONFIG_PINCONF=y |
| 115 | CONFIG_SPL_PINCTRL=y |
| 116 | CONFIG_SPL_PINCONF=y |
| 117 | CONFIG_SPL_PINCTRL_STARFIVE=y |
| 118 | CONFIG_SPL_PINCTRL_STARFIVE_JH7110=y |
| 119 | CONFIG_PINCTRL_STARFIVE=y |
| 120 | # CONFIG_RAM_SIFIVE is not set |
| 121 | CONFIG_SYS_NS16550=y |
| 122 | CONFIG_CADENCE_QSPI=y |
| 123 | CONFIG_TIMER_EARLY=y |
Minda Chen | 0665621 | 2023-08-07 16:53:38 +0800 | [diff] [blame] | 124 | CONFIG_USB=y |
| 125 | CONFIG_USB_XHCI_HCD=y |
| 126 | CONFIG_USB_XHCI_PCI=y |
| 127 | CONFIG_USB_KEYBOARD=y |