mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +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>
92 lines
2.6 KiB
Text
92 lines
2.6 KiB
Text
CONFIG_ARM=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SYS_TEXT_BASE=0x80100000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x3000
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
# CONFIG_SPL_GPIO is not set
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_DEFAULT_DEVICE_TREE="logicpd-torpedo-35xx-devkit"
|
|
CONFIG_SPL_TEXT_BASE=0x40200000
|
|
CONFIG_TARGET_OMAP3_LOGIC=y
|
|
# CONFIG_SPL_OMAP3_ID_NAND is not set
|
|
CONFIG_SPL=y
|
|
CONFIG_LTO=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_ANDROID_BOOT_IMAGE=y
|
|
CONFIG_BOOTCOMMAND="run autoboot"
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_PREBOOT="setenv preboot;saveenv;"
|
|
CONFIG_DEFAULT_FDT_FILE="logicpd-torpedo-35xx-devkit.dtb"
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
|
# CONFIG_SPL_FS_EXT4 is not set
|
|
# CONFIG_SPL_I2C 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_OS_BOOT=y
|
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0x240000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_UUID=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(MLO),1792k(u-boot),128k(spl-os),128k(u-boot-env),6m(kernel),-(fs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_SPL_OF_TRANSLATE=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=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_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_32_BIT=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_DM_PMIC=y
|
|
# CONFIG_SPL_PMIC_CHILDREN is not set
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_USB=y
|
|
# CONFIG_SPL_DM_USB is not set
|
|
CONFIG_USB_EHCI_HCD=y
|
|
# CONFIG_USB_EHCI_OMAP is not set
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_OMAP2PLUS=y
|
|
CONFIG_TWL4030_USB=y
|
|
CONFIG_BCH=y
|