mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-05 05:15:24 +02:00
nitrogen8mp: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
This commit is contained in:
parent
58ae19468f
commit
2089403f0b
|
@ -28,16 +28,11 @@ PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
|
|||
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
||||
# Used to define the U-Boot defconfig for different board variants. The naming
|
||||
# is here as a safeguard mechanism so that a user doesn't build and flash the
|
||||
# wrong configuration.
|
||||
#
|
||||
# This method will be optimized in the future, but for now, use this variable to
|
||||
# define the defconfig to be built.
|
||||
BOUNDARY_DEVICES_UBOOT_DEFCONFIG ?= "nitrogen8mp_2gr0"
|
||||
|
||||
UBOOT_CONFIG ??= "sd"
|
||||
UBOOT_CONFIG[sd] = "${BOUNDARY_DEVICES_UBOOT_DEFCONFIG}_defconfig,sdcard"
|
||||
UBOOT_CONFIG ??= "2g 2gr0 4g 8g"
|
||||
UBOOT_CONFIG[2g] = "${MACHINE}_2g_defconfig,sdcard"
|
||||
UBOOT_CONFIG[2gr0] = "${MACHINE}_2gr0_defconfig,sdcard"
|
||||
UBOOT_CONFIG[4g] = "${MACHINE}_4g_defconfig,sdcard"
|
||||
UBOOT_CONFIG[8g] = "${MACHINE}_8g_defconfig,sdcard"
|
||||
|
||||
ATF_PLATFORM = "imx8mp"
|
||||
|
||||
|
@ -48,13 +43,17 @@ DDR_FIRMWARE_NAME = "\
|
|||
lpddr4_pmu_train_2d_dmem_202006.bin \
|
||||
"
|
||||
|
||||
# wic support
|
||||
WKS_FILE = "sdimage-bootpart.wks"
|
||||
IMAGE_BOOT_FILES:append = " \
|
||||
boot.scr-${MACHINE};boot.scr \
|
||||
upgrade.scr-${MACHINE};upgrade.scr \
|
||||
flash.bin-${MACHINE};u-boot.${BOUNDARY_DEVICES_UBOOT_DEFCONFIG} \
|
||||
flash.bin-${MACHINE}-2g;u-boot.${MACHINE}_2g \
|
||||
flash.bin-${MACHINE}-2gr0;u-boot.${MACHINE}_2gr0 \
|
||||
flash.bin-${MACHINE}-4g;u-boot.${MACHINE}_4g \
|
||||
flash.bin-${MACHINE}-8g;u-boot.${MACHINE}_8g \
|
||||
"
|
||||
|
||||
# wic support
|
||||
WKS_FILE = "sdimage-bootpart.wks"
|
||||
WKS_FILE_DEPENDS += "u-boot-script-boundary"
|
||||
|
||||
OPTEE_BIN_EXT = "8mp"
|
||||
|
|
Loading…
Reference in New Issue
Block a user