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>
70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SYS_VENDOR="opalkelly"
|
|
CONFIG_SYS_CONFIG_NAME="syzygy_hub"
|
|
CONFIG_SPL_SYS_DCACHE_OFF=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_ZYNQ=y
|
|
CONFIG_SYS_TEXT_BASE=0x4000000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="zynq-syzygy-hub"
|
|
CONFIG_SPL_STACK_R_ADDR=0x200000
|
|
CONFIG_SPL=y
|
|
CONFIG_DEBUG_UART_BASE=0xe0000000
|
|
CONFIG_DEBUG_UART_CLOCK=50000000
|
|
CONFIG_ZYNQ_MAC_IN_EEPROM=y
|
|
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0xFA
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_SYS_CUSTOM_LDSCRIPT=y
|
|
CONFIG_SYS_LDSCRIPT="arch/arm/mach-zynq/u-boot.lds"
|
|
CONFIG_SYS_LOAD_ADDR=0x0
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONF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=0x03FD
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_FUNCTION_THOR=y
|