mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +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>
59 lines
1.6 KiB
Text
59 lines
1.6 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SYS_TEXT_BASE=0x80100000
|
|
CONFIG_SYS_MALLOC_LEN=0x40000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_SPL_TEXT_BASE=0x40200000
|
|
CONFIG_TARGET_DEVKIT8000=y
|
|
CONFIG_SPL=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOTCOMMAND="run autoboot"
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=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=0x500
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0x680000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x400
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_DNS2=y
|
|
CONFIG_BOOTP_NTPSERVER=y
|
|
CONFIG_CMD_JFFS2=y
|
|
CONFIG_JFFS2_DEV="nand0"
|
|
CONFIG_JFFS2_PART_OFFSET=0x680000
|
|
CONFIG_JFFS2_PART_SIZE=0xF980000
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)"
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_BOOTP_SEND_HOSTNAME=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_TWL4030_LED=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_OMAP_ECCSCHEME_HAM1_CODE_HW=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_CONS_INDEX=3
|
|
CONFIG_JFFS2_NAND=y
|
|
CONFIG_OF_LIBFDT=y
|