apalis-imx6.conf: build a spl based u-boot

U-Boot is now used with SPL, set the machine conf file accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Max Krummenacher 2017-11-08 16:54:03 +01:00 committed by Otavio Salvador
parent 022d9c6672
commit b5f9ee90d8

View File

@ -16,14 +16,13 @@ KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
# Modules in commercial and industrial temperature range have different RAM.
# Using apalis_imx6_it_defconfig builds an U-Boot working for both temperature
# ranges, however, on commercially rated modules the RAM bandwidth is 5-10%
# higher when using the optimized settings from apalis_imx6_defconfig.
# The following builds both binaries, but uses the IT one in an SD image.
UBOOT_CONFIG ??= "it"
UBOOT_CONFIG[com] = "apalis_imx6_defconfig"
UBOOT_CONFIG[it] = "apalis_imx6_it_defconfig"
SPL_BINARY = "SPL"
# The SPL configures the DDR RAM depending on the module it runs on. Thus there
# is no need to distingush between the different module types.
UBOOT_CONFIG ??= "spl"
UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img"
UBOOT_MAKE_TARGET = ""
UBOOT_ENTRYPOINT_use-mainline-bsp = "0x10008000"
IMAGE_FSTYPES = "sdcard.gz tar.xz"