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>
102 lines
2.7 KiB
Text
102 lines
2.7 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_AT91=y
|
|
CONFIG_TEXT_BASE=0x21000000
|
|
CONFIG_SYS_MALLOC_LEN=0x460000
|
|
CONFIG_TARGET_TAURUS=y
|
|
CONFIG_AT91_GPIO_PULLUP=y
|
|
CONFIG_ATMEL_LEGACY=y
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_SPL_LDSCRIPT="arch/arm/cpu/u-boot-spl.lds"
|
|
CONFIG_ENV_OFFSET=0x100000
|
|
CONFIG_SPL_DM_SPI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91sam9g20-taurus"
|
|
CONFIG_SPL_STACK=0x304000
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
|
|
CONFIG_SPL=y
|
|
CONFIG_DEBUG_UART_BASE=0xfffff200
|
|
CONFIG_DEBUG_UART_CLOCK=18432000
|
|
CONFIG_ENV_OFFSET_REDUND=0x180000
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
CONFIG_SPL_SPI=y
|
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_NAND_BOOT=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run flash_self"
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=281
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SPL_MAX_SIZE=0x3e00
|
|
CONFIG_SPL_PAD_TO=0x20000
|
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
CONFIG_SPL_BSS_START_ADDR=0x3e00
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x600
|
|
# CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_SYS_MALLOC=y
|
|
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
|
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x20ba0000
|
|
CONFIG_SPL_SYS_MALLOC_SIZE=0x460000
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_SPL_NAND_RAW_ONLY=y
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_SOFTECC=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_SPL_DM_SPI_FLASH=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot> "
|
|
# CONFIG_CMD_BDI is not set
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_PINMUX is not set
|
|
CONFIG_CMD_SPI=y
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_SPL_OF_PLATDATA=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_AT91=y
|
|
CONFIG_AT91_GPIO=y
|
|
# CONFIG_MMC is not set
|
|
# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
|
|
CONFIG_NAND_ATMEL=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_MACB=y
|
|
CONFIG_RMII=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_AT91=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_ATMEL_USART=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_AT91=y
|
|
CONFIG_SPL_CRC32=y
|
|
CONFIG_HEXDUMP=y
|