mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +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>
105 lines
2.8 KiB
Text
105 lines
2.8 KiB
Text
CONFIG_MIPS=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_SYS_MALLOC_LEN=0x1000000
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x10000
|
|
CONFIG_ENV_OFFSET=0xA0000
|
|
CONFIG_ENV_SECT_SIZE=0x10000
|
|
CONFIG_DEFAULT_DEVICE_TREE="gardena-smart-gateway-mt7688"
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SYS_BOOTCOUNT_ADDR=0xb000006c
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x80000
|
|
CONFIG_SPL=y
|
|
CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
|
|
CONFIG_ENV_OFFSET_REDUND=0xB0000
|
|
CONFIG_SYS_LOAD_ADDR=0x80100000
|
|
CONFIG_ARCH_MTMIPS=y
|
|
CONFIG_SOC_MT7628=y
|
|
CONFIG_SYS_MIPS_TIMER_FREQ=290000000
|
|
CONFIG_MIPS_CACHE_SETUP=y
|
|
CONFIG_MIPS_CACHE_DISABLE=y
|
|
CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
|
|
# CONFIG_MIPS_BOOT_ENV_LEGACY is not set
|
|
CONFIG_MIPS_BOOT_FDT=y
|
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
|
CONFIG_HAS_BOARD_SIZE_LIMIT=y
|
|
CONFIG_BOARD_SIZE_LIMIT=655360
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_LEGACY_IMAGE_FORMAT=y
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_STOP_STR="x"
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="cp.b 83000000 84000000 10000 && dhcp uEnv.txt && env import -t ${fileaddr} ${filesize} && run do_u_boot_init; reset"
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=532
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
CONFIG_SPL_MAX_SIZE=0x10000
|
|
CONFIG_SPL_BSS_START_ADDR=0x80010000
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x10000
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_NOR_SUPPORT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_CMD_LICENSE=y
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
CONFIG_CMD_MEMINFO=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_SYS_ALT_MEMTEST=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_WDT=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_BOOTCOUNT=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_GETTIME=y
|
|
CONFIG_CMD_UUID=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
|
|
CONFIG_MTDIDS_DEFAULT="spi-nand0=spi0.1,nor0=spi0.0"
|
|
CONFIG_MTDPARTS_DEFAULT="spi0.0:640k(uboot),64k(uboot_env0),64k(uboot_env1),64k(factory),-(unused);spi0.1:-(nand)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_SPL_DM=y
|
|
# CONFIG_DM_DEVICE_REMOVE is not set
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_BLINK=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_SPI_FLASH_XMC=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_MTD_UBI_BEB_LIMIT=22
|
|
CONFIG_MTD_UBI_FASTMAP=y
|
|
CONFIG_MT7628_ETH=y
|
|
CONFIG_PHY=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_SPI=y
|
|
CONFIG_MT7621_SPI=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_MT7621=y
|
|
CONFIG_LZMA=y
|
|
CONFIG_SPL_LZMA=y
|