mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00
nitrogen8mn: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
This commit is contained in:
parent
2570ff2b26
commit
531c13b79a
|
@ -29,16 +29,9 @@ PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
|
||||||
SPL_BINARY = "spl/u-boot-spl.bin"
|
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||||
UBOOT_SUFFIX = "bin"
|
UBOOT_SUFFIX = "bin"
|
||||||
|
|
||||||
# Used to define the U-Boot defconfig for different board variants. The naming
|
UBOOT_CONFIG ??= "1g som_1g"
|
||||||
# is here as a safeguard mechanism so that a user doesn't build and flash the
|
UBOOT_CONFIG[1g] = "${MACHINE}_1g_defconfig,sdcard"
|
||||||
# wrong configuration.
|
UBOOT_CONFIG[som_1g] = "${MACHINE}_som_1g_defconfig,sdcard"
|
||||||
#
|
|
||||||
# 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 ?= "nitrogen8_nano_8mn1gr0"
|
|
||||||
|
|
||||||
UBOOT_CONFIG ??= "sd"
|
|
||||||
UBOOT_CONFIG[sd] = "${BOUNDARY_DEVICES_UBOOT_DEFCONFIG}_defconfig,sdcard"
|
|
||||||
|
|
||||||
ATF_PLATFORM = "imx8mn"
|
ATF_PLATFORM = "imx8mn"
|
||||||
|
|
||||||
|
@ -52,7 +45,8 @@ DDR_FIRMWARE_NAME = "\
|
||||||
IMAGE_BOOT_FILES:append = " \
|
IMAGE_BOOT_FILES:append = " \
|
||||||
boot.scr-${MACHINE};boot.scr \
|
boot.scr-${MACHINE};boot.scr \
|
||||||
upgrade.scr-${MACHINE};upgrade.scr \
|
upgrade.scr-${MACHINE};upgrade.scr \
|
||||||
flash.bin-${MACHINE};u-boot.${BOUNDARY_DEVICES_UBOOT_DEFCONFIG} \
|
flash.bin-${MACHINE}-1g;u-boot.${MACHINE}_1g \
|
||||||
|
flash.bin-${MACHINE}-som_1g;u-boot.${MACHINE}_som_1g \
|
||||||
"
|
"
|
||||||
|
|
||||||
# wic support
|
# wic support
|
||||||
|
|
Loading…
Reference in New Issue
Block a user