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