mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
22eb1526d4
Falcon mode is very useful in improving boot speed. A question that Falcon mode asks is "Where do I look for the kernel". With MMC boot media, the correct answer is CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR. The scope of this patch is to move this to Kconfig. It is possible for a system to support Falcon mode from NOR but not MMC. In that case, mmc_load_image_raw_os() would not be used. To address this, conditionally compile mmc_load_image_raw_os() when SPL_FALCON_BOOT_MMCSD, instead of SPL_OS_BOOT. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Move spl_start_uboot to its own guard in spl_mmc.c, rerun migration] Signed-off-by: Tom Rini <trini@konsulko.com>
74 lines
1.8 KiB
Text
74 lines
1.8 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_ENV_OFFSET=0x0
|
|
CONFIG_DEFAULT_DEVICE_TREE="am335x-sl50"
|
|
CONFIG_AM33XX=y
|
|
CONFIG_TARGET_AM335X_SL50=y
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x20000
|
|
CONFIG_SPL_FS_FAT=y
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_TIMESTAMP=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
|
|
CONFIG_AUTOBOOT_DELAY_STR="d"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_SPL_ENV_SUPPORT=y
|
|
CONFIG_SPL_FS_EXT4=y
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_SPL_NET=y
|
|
CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
|
CONFIG_SPL_POWER=y
|
|
CONFIG_SPL_WATCHDOG=y
|
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_SPI=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_DNS2=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_DEV=1
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_BOOTP_SE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