blob: 641d205093a9a9271fc48776d291203b98b62505 [file] [log] [blame]
Holger Brunck468ba8d2020-02-19 19:55:14 +01001CONFIG_ARM=y
2CONFIG_ARCH_SOCFPGA=y
Tom Rini98021542021-11-01 12:19:22 +00003CONFIG_SYS_MALLOC_LEN=0x4000000
Holger Brunck468ba8d2020-02-19 19:55:14 +01004CONFIG_SYS_MALLOC_F_LEN=0x800
5CONFIG_ENV_SIZE=0x1000
6CONFIG_ENV_OFFSET=0x100000
7CONFIG_DM_GPIO=y
Tom Rini2bba7802021-06-28 10:17:29 -04008CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_secu1"
Tom Rinic5a6e9f2020-07-06 13:54:25 -04009CONFIG_SPL_TEXT_BASE=0xFFFF0000
Simon Glass103c5f12021-08-08 12:20:09 -060010# CONFIG_SPL_MMC is not set
Simon Glass9ca00682021-07-10 21:14:31 -060011CONFIG_SPL_DRIVERS_MISC=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010012CONFIG_TARGET_SOCFPGA_ARRIA5_SECU1=y
13CONFIG_ENV_OFFSET_REDUND=0x120000
14# CONFIG_SPL_LIBDISK_SUPPORT is not set
Simon Glassea2ca7e2021-08-08 12:20:14 -060015# CONFIG_SPL_SPI is not set
Tom Rinid46e86d2022-04-08 13:36:51 -040016CONFIG_SYS_LOAD_ADDR=0x02000000
Holger Brunck468ba8d2020-02-19 19:55:14 +010017CONFIG_BUILD_TARGET="u-boot-with-nand-spl.sfp"
Tom Rini556fd592020-04-28 16:15:47 -040018CONFIG_DISTRO_DEFAULTS=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010019CONFIG_FIT=y
Tom Rini69c8a812022-03-11 09:12:04 -050020CONFIG_BOOT_RETRY=y
21CONFIG_BOOT_RETRY_TIME=45
22CONFIG_RESET_TO_RETRY=y
Tom Rini44a666a2020-06-16 19:06:12 -040023CONFIG_USE_BOOTARGS=y
24CONFIG_BOOTARGS="console=ttyS0,115200 ubi.fm_autoconvert=1 uio_pdrv_genirq.of_id=\"idq,regbank\""
Tom Rini970bf862021-11-10 09:11:40 -050025CONFIG_BOOTCOMMAND="setenv bootcmd 'bridge enable; if test ${bootnum} = 'b'; then run _fpga_loadsafe; else if test ${bootcount} -eq 4; then echo 'Switching copy...'; setexpr x $bootnum % 2 && setexpr bootnum $x + 1; saveenv; fi; run _fpga_loaduser; fi;echo 'Booting bank $bootnum' && run userload && run userboot;' && setenv altbootcmd 'setenv bootnum b && saveenv && boot;' && saveenv && saveenv && boot;"
Tom Rini0817daa2020-10-09 12:22:06 -040026CONFIG_DEFAULT_FDT_FILE="socfpga_arria5_secu1.dtb"
Holger Brunck468ba8d2020-02-19 19:55:14 +010027CONFIG_SYS_CONSOLE_IS_IN_ENV=y
28CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
29CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010030# CONFIG_DISPLAY_BOARDINFO is not set
31CONFIG_DISPLAY_BOARDINFO_LATE=y
Tom Rini15b4aed2022-03-23 17:20:08 -040032CONFIG_CLOCKS=y
Tom Rini406257a2021-11-07 22:59:41 -050033CONFIG_MISC_INIT_R=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010034CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y
35# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
Tom Rinif76750d2021-12-11 14:55:51 -050036CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x1
37# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE is not set
Holger Brunck468ba8d2020-02-19 19:55:14 +010038CONFIG_SPL_MTD_SUPPORT=y
39CONFIG_CMD_ASKENV=y
40CONFIG_CMD_GREPENV=y
41CONFIG_CMD_EEPROM=y
Tom Rini88cd7d02021-08-17 17:59:45 -040042CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
43CONFIG_SYS_EEPROM_SIZE=1024
Holger Brunck468ba8d2020-02-19 19:55:14 +010044# CONFIG_CMD_FLASH is not set
45CONFIG_CMD_GPIO=y
46CONFIG_CMD_I2C=y
47CONFIG_CMD_MMC=y
48CONFIG_CMD_NAND_TRIMFFS=y
49CONFIG_CMD_SPI=y
50CONFIG_CMD_WDT=y
51CONFIG_CMD_CACHE=y
52CONFIG_MTDIDS_DEFAULT="nand0=denali-nand"
53CONFIG_MTDPARTS_DEFAULT="mtdparts=denali-nand:512k(nand.4spl),512k(nand.uboot),128k(nand.env1),128k(nand.env2),0x1000000(nand.rec),0x3ee40000(nand.ubi),0x80000@0x3ff80000(nand.bbt)"
54CONFIG_CMD_UBI=y
55# CONFIG_CMD_UBIFS is not set
56# CONFIG_ISO_PARTITION is not set
57# CONFIG_EFI_PARTITION is not set
Adam Forde91907a2020-07-03 06:48:56 -050058CONFIG_ENV_OVERWRITE=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010059CONFIG_ENV_IS_IN_NAND=y
60CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
Tom Rinifdfb17b2022-02-25 11:19:48 -050061CONFIG_USE_BOOTFILE=y
62CONFIG_BOOTFILE="zImage"
Tom Rini0817daa2020-10-09 12:22:06 -040063CONFIG_VERSION_VARIABLE=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010064CONFIG_SPL_DM_SEQ_ALIAS=y
65# CONFIG_SPL_BLK is not set
Marek Vasut8876f892020-03-06 21:52:21 +010066CONFIG_BOOTCOUNT_LIMIT=y
67CONFIG_DM_BOOTCOUNT=y
68CONFIG_DM_BOOTCOUNT_RTC=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010069CONFIG_DWAPB_GPIO=y
70CONFIG_DM_I2C=y
71CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
72CONFIG_DM_I2C_GPIO=y
73CONFIG_MISC=y
74CONFIG_I2C_EEPROM=y
75CONFIG_SYS_I2C_EEPROM_ADDR=0x50
Holger Brunck468ba8d2020-02-19 19:55:14 +010076CONFIG_MMC_DW=y
77CONFIG_MTD=y
78CONFIG_DM_MTD=y
79CONFIG_MTD_RAW_NAND=y
80CONFIG_SYS_NAND_USE_FLASH_BBT=y
81CONFIG_NAND_DENALI_DT=y
Tom Rinic0ad62c2021-09-22 14:50:34 -040082CONFIG_SYS_NAND_ONFI_DETECTION=y
Tom Rini871fd502021-09-22 14:50:38 -040083CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
84CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
Holger Brunck468ba8d2020-02-19 19:55:14 +010085CONFIG_SPL_NAND_DENALI=y
Tom Rini32a8f802020-05-26 08:32:25 -040086CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=2
Holger Brunck468ba8d2020-02-19 19:55:14 +010087# CONFIG_DM_SPI_FLASH is not set
88CONFIG_MTD_UBI_FASTMAP=y
89CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
90CONFIG_MV88E6352_SWITCH=y
91CONFIG_PHY_FIXED=y
92CONFIG_DM_ETH=y
93CONFIG_PHY_GIGE=y
94CONFIG_ETH_DESIGNWARE=y
95CONFIG_MII=y
96CONFIG_DM_RESET=y
Marek Vasut8876f892020-03-06 21:52:21 +010097CONFIG_DM_RTC=y
98CONFIG_RTC_M41T62=y
Holger Brunck468ba8d2020-02-19 19:55:14 +010099CONFIG_SPI=y
100CONFIG_SPI_MEM=y
101CONFIG_DESIGNWARE_SPI=y
Tom Rini82edd732021-12-12 22:12:28 -0500102CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
Holger Brunck468ba8d2020-02-19 19:55:14 +0100103CONFIG_DESIGNWARE_WATCHDOG=y
104CONFIG_WDT=y
105# CONFIG_GZIP is not set