blob: f7bdb906bca3af593fd951ab2f0616ebd73bd0ba [file] [log] [blame]
Holger Brunckddef8892020-02-19 19:55:14 +01001CONFIG_ARM=y
2CONFIG_ARCH_SOCFPGA=y
Tom Rinie25a03a2021-11-01 12:19:22 +00003CONFIG_SYS_MALLOC_LEN=0x4000000
Holger Brunckddef8892020-02-19 19:55:14 +01004CONFIG_SYS_MALLOC_F_LEN=0x800
5CONFIG_ENV_SIZE=0x1000
6CONFIG_ENV_OFFSET=0x100000
7CONFIG_DM_GPIO=y
Tom Rinia20e51f2021-06-28 10:17:29 -04008CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_secu1"
Tom Rini0332a1a2020-07-06 13:54:25 -04009CONFIG_SPL_TEXT_BASE=0xFFFF0000
Simon Glassb58bfe02021-08-08 12:20:09 -060010# CONFIG_SPL_MMC is not set
Simon Glass284cb9c2021-07-10 21:14:31 -060011CONFIG_SPL_DRIVERS_MISC=y
Holger Brunckddef8892020-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 Glassa5820472021-08-08 12:20:14 -060015# CONFIG_SPL_SPI is not set
Holger Brunckddef8892020-02-19 19:55:14 +010016CONFIG_BUILD_TARGET="u-boot-with-nand-spl.sfp"
Tom Rini47dece32020-04-28 16:15:47 -040017CONFIG_DISTRO_DEFAULTS=y
Tom Rini0997ee02021-08-23 10:25:31 -040018CONFIG_SYS_LOAD_ADDR=0x02000000
Holger Brunckddef8892020-02-19 19:55:14 +010019CONFIG_FIT=y
Tom Rini97faf612020-06-16 19:06:12 -040020CONFIG_USE_BOOTARGS=y
21CONFIG_BOOTARGS="console=ttyS0,115200 ubi.fm_autoconvert=1 uio_pdrv_genirq.of_id=\"idq,regbank\""
Tom Rini5ddf1722021-11-10 09:11:40 -050022CONFIG_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 Rinif92b6fa2020-10-09 12:22:06 -040023CONFIG_DEFAULT_FDT_FILE="socfpga_arria5_secu1.dtb"
Holger Brunckddef8892020-02-19 19:55:14 +010024CONFIG_SYS_CONSOLE_IS_IN_ENV=y
25CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
26CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
Holger Brunckddef8892020-02-19 19:55:14 +010027# CONFIG_DISPLAY_BOARDINFO is not set
28CONFIG_DISPLAY_BOARDINFO_LATE=y
Tom Rini3faebfb2021-11-07 22:59:41 -050029CONFIG_MISC_INIT_R=y
Holger Brunckddef8892020-02-19 19:55:14 +010030CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y
31# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
Tom Rinid391d8b2021-12-11 14:55:51 -050032CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x1
33# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE is not set
Holger Brunckddef8892020-02-19 19:55:14 +010034CONFIG_SPL_MTD_SUPPORT=y
35CONFIG_CMD_ASKENV=y
36CONFIG_CMD_GREPENV=y
37CONFIG_CMD_EEPROM=y
Tom Rinifaed5672021-08-17 17:59:45 -040038CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
39CONFIG_SYS_EEPROM_SIZE=1024
Holger Brunckddef8892020-02-19 19:55:14 +010040# CONFIG_CMD_FLASH is not set
41CONFIG_CMD_GPIO=y
42CONFIG_CMD_I2C=y
43CONFIG_CMD_MMC=y
44CONFIG_CMD_NAND_TRIMFFS=y
45CONFIG_CMD_SPI=y
46CONFIG_CMD_WDT=y
47CONFIG_CMD_CACHE=y
48CONFIG_MTDIDS_DEFAULT="nand0=denali-nand"
49CONFIG_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)"
50CONFIG_CMD_UBI=y
51# CONFIG_CMD_UBIFS is not set
52# CONFIG_ISO_PARTITION is not set
53# CONFIG_EFI_PARTITION is not set
Adam Ford710966e2020-07-03 06:48:56 -050054CONFIG_ENV_OVERWRITE=y
Holger Brunckddef8892020-02-19 19:55:14 +010055CONFIG_ENV_IS_IN_NAND=y
56CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
Tom Rinif92b6fa2020-10-09 12:22:06 -040057CONFIG_VERSION_VARIABLE=y
Holger Brunckddef8892020-02-19 19:55:14 +010058CONFIG_SPL_DM_SEQ_ALIAS=y
59# CONFIG_SPL_BLK is not set
Marek Vasut3a649682020-03-06 21:52:21 +010060CONFIG_BOOTCOUNT_LIMIT=y
61CONFIG_DM_BOOTCOUNT=y
62CONFIG_DM_BOOTCOUNT_RTC=y
Holger Brunckddef8892020-02-19 19:55:14 +010063CONFIG_DWAPB_GPIO=y
64CONFIG_DM_I2C=y
65CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
66CONFIG_DM_I2C_GPIO=y
67CONFIG_MISC=y
68CONFIG_I2C_EEPROM=y
69CONFIG_SYS_I2C_EEPROM_ADDR=0x50
Holger Brunckddef8892020-02-19 19:55:14 +010070CONFIG_MMC_DW=y
71CONFIG_MTD=y
72CONFIG_DM_MTD=y
73CONFIG_MTD_RAW_NAND=y
74CONFIG_SYS_NAND_USE_FLASH_BBT=y
75CONFIG_NAND_DENALI_DT=y
Tom Rinifdae0072021-09-22 14:50:34 -040076CONFIG_SYS_NAND_ONFI_DETECTION=y
Tom Rini1cf7c412021-09-22 14:50:38 -040077CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
78CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
Holger Brunckddef8892020-02-19 19:55:14 +010079CONFIG_SPL_NAND_DENALI=y
Tom Rini63683ef2020-05-26 08:32:25 -040080CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=2
Holger Brunckddef8892020-02-19 19:55:14 +010081# CONFIG_DM_SPI_FLASH is not set
82CONFIG_MTD_UBI_FASTMAP=y
83CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
84CONFIG_MV88E6352_SWITCH=y
85CONFIG_PHY_FIXED=y
86CONFIG_DM_ETH=y
87CONFIG_PHY_GIGE=y
88CONFIG_ETH_DESIGNWARE=y
89CONFIG_MII=y
90CONFIG_DM_RESET=y
Marek Vasut3a649682020-03-06 21:52:21 +010091CONFIG_DM_RTC=y
92CONFIG_RTC_M41T62=y
Holger Brunckddef8892020-02-19 19:55:14 +010093CONFIG_SPI=y
94CONFIG_SPI_MEM=y
95CONFIG_DESIGNWARE_SPI=y
Tom Rini3e6a35b2021-12-12 22:12:28 -050096CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
Holger Brunckddef8892020-02-19 19:55:14 +010097CONFIG_DESIGNWARE_WATCHDOG=y
98CONFIG_WDT=y
99# CONFIG_GZIP is not set