nitrogen8mp: add 8mp smarc uboot support

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
This commit is contained in:
Chris Dimich 2023-08-04 11:58:22 -07:00
parent b3cca20779
commit 3ab0b127c0

View File

@ -44,11 +44,12 @@ PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "2g 2gr0 4g 8g"
UBOOT_CONFIG ??= "2g 2gr0 4g 8g smarc"
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"
UBOOT_CONFIG[smarc] = "imx8mp_nitrogen_smarc_2gr0_defconfig,sdcard"
ATF_PLATFORM = "imx8mp"
@ -66,6 +67,7 @@ IMAGE_BOOT_FILES:append = " \
flash.bin-${MACHINE}-2gr0;u-boot.${MACHINE}_2gr0 \
flash.bin-${MACHINE}-4g;u-boot.${MACHINE}_4g \
flash.bin-${MACHINE}-8g;u-boot.${MACHINE}_8g \
flash.bin-${MACHINE}-smarc;u-boot.imx8mp_nitrogen_smarc_2gr0 \
"
# wic support