mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
db04ff42c7
The help for CONFIG_MTD explains that it needs to be enabled for various things like NAND, etc to be available. It however then doesn't enforce this dependency and so if you have none of these systems present you still need to disable a number of options. Fix this by making places that select/imply one type of flash, but did not do the same, also do this for "MTD". Make boards which hadn't been enabling MTD already but need it now, do so. In a few places, disable CONFIG_CMD_MTDPARTS as it wasn't previously enabled but was now being implied. Signed-off-by: Tom Rini <trini@konsulko.com>
115 lines
3.6 KiB
Text
115 lines
3.6 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_L2_PL310=y
|
|
CONFIG_ARCH_SOCFPGA=y
|
|
CONFIG_SYS_MALLOC_LEN=0x4000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x800
|
|
CONFIG_ENV_SOURCE_FILE="socfpga_secu"
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x800000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0x100000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_secu1"
|
|
CONFIG_SPL_TEXT_BASE=0xFFFF0000
|
|
CONFIG_DM_RESET=y
|
|
# CONFIG_SPL_MMC is not set
|
|
CONFIG_SPL_DRIVERS_MISC=y
|
|
CONFIG_SPL_STACK=0x0
|
|
CONFIG_TARGET_SOCFPGA_ARRIA5_SECU1=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x120000
|
|
# CONFIG_SPL_LIBDISK_SUPPORT is not set
|
|
# CONFIG_SPL_SPI is not set
|
|
CONFIG_SYS_LOAD_ADDR=0x02000000
|
|
CONFIG_BUILD_TARGET="u-boot-with-nand-spl.sfp"
|
|
CONFIG_FIT=y
|
|
CONFIG_SYS_BOOTM_LEN=0x4000000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOT_RETRY=y
|
|
CONFIG_BOOT_RETRY_TIME=45
|
|
CONFIG_RESET_TO_RETRY=y
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_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;"
|
|
CONFIG_DEFAULT_FDT_FILE="socfpga_arria5_secu1.dtb"
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
|
CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|
CONFIG_CLOCKS=y
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_SPL_PAD_TO=0x10000
|
|
CONFIG_SPL_NO_BSS_LIMIT=y
|
|
CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x1
|
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE is not set
|
|
CONFIG_SPL_MTD=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_HUSH_OLD_PARSER=y
|
|
CONFIG_SYS_MAXARGS=32
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
|
|
CONFIG_SYS_EEPROM_SIZE=1024
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_NAND_TRIMFFS=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_WDT=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=denali-nand"
|
|
CONFIG_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)"
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
# CONFIG_ISO_PARTITION is not set
|
|
# CONFIG_EFI_PARTITION is not set
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_USE_BOOTFILE=y
|
|
CONFIG_BOOTFILE="zImage"
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_DM_BOOTCOUNT=y
|
|
CONFIG_DM_BOOTCOUNT_RTC=y
|
|
CONFIG_DWAPB_GPIO=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
|
CONFIG_DM_I2C_GPIO=y
|
|
CONFIG_MISC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_USE_FLASH_BBT=y
|
|
CONFIG_NAND_DENALI_DT=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_SPL_NAND_DENALI=y
|
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=2
|
|
# CONFIG_DM_SPI_FLASH is not set
|
|
CONFIG_MTD_UBI_FASTMAP=y
|
|
CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
|
|
CONFIG_MV88E6352_SWITCH=y
|
|
CONFIG_PHY_FIXED=y
|
|
CONFIG_PHY_GIGE=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_MII=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_M41T62=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_MEM=y
|
|
CONFIG_DESIGNWARE_SPI=y
|
|
CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
|
|
CONFIG_DESIGNWARE_WATCHDOG=y
|
|
CONFIG_WDT=y
|
|
CONFIG_SYS_TIMER_COUNTS_DOWN=y
|
|
# CONFIG_GZIP is not set
|