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>
80 lines
2.1 KiB
Text
80 lines
2.1 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x8000
|
|
CONFIG_DEFAULT_DEVICE_TREE="omap3-igep0020"
|
|
CONFIG_SPL_TEXT_BASE=0x40200000
|
|
CONFIG_TARGET_OMAP3_IGEP00X0=y
|
|
CONFIG_SPL=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
# CONFIG_SPL_FS_EXT4 is not set
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_SIMPLE=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_SPL_UBI=y
|
|
CONFIG_SPL_UBI_MAX_VOL_LEBS=256
|
|
CONFIG_SPL_UBI_MAX_PEB_SIZE=262144
|
|
CONFIG_SPL_UBI_MAX_PEBS=4096
|
|
CONFIG_SPL_UBI_PEB_OFFSET=4
|
|
CONFIG_SPL_UBI_VID_OFFSET=512
|
|
CONFIG_SPL_UBI_LEB_START=2048
|
|
CONFIG_SPL_UBI_INFO_ADDR=0x88080000
|
|
CONFIG_SPL_UBI_VOL_IDS=8
|
|
CONFIG_SPL_UBI_LOAD_MONITOR_ID=0
|
|
CONFIG_SPL_UBI_LOAD_KERNEL_ID=3
|
|
CONFIG_SPL_UBI_LOAD_ARGS_ID=4
|
|
CONFIG_SPL_ONENAND_SUPPORT=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
|
CONFIG_CMD_SPL=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_ONENAND=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_UBI=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_ENV_UBI_PART="UBI"
|
|
CONFIG_ENV_UBI_VOLUME="config"
|
|
CONFIG_ENV_UBI_VOLUME_REDUND="config_r"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_SYS_MTDPARTS_RUNTIME=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_OMAP_ECCSCHEME_BCH8_CODE_HW_DETECTION_SW=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_PAGE_COUNT=0x40
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_MTD_UBI_FASTMAP=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_BASE=0x2C000000
|
|
CONFIG_SMC911X_32_BIT=y
|
|
CONFIG_CONS_INDEX=3
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_BCH=y
|
|
CONFIG_FDT_FIXUP_PARTITIONS=y
|