Skip to content

Commit

Permalink
nitrogen8mm: add 8mm smarc uboot support
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Dimich <[email protected]>
  • Loading branch information
chrisdimich committed Nov 14, 2023
1 parent f8bc5f5 commit cfb24c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/machine/nitrogen8mm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"

UBOOT_CONFIG ??= "2g 2gr0 4g rev2_2g rev2_2gr0 rev2_4g som_1gr0 som_2g som_2gr0 som_4g"
UBOOT_CONFIG ??= "2g 2gr0 4g rev2_2g rev2_2gr0 rev2_4g som_1gr0 som_2g som_2gr0 som_4g smarc_2gr0"
UBOOT_CONFIG[2g] = "${MACHINE}_2g_defconfig,sdcard"
UBOOT_CONFIG[2gr0] = "${MACHINE}_2gr0_defconfig,sdcard"
UBOOT_CONFIG[4g] = "${MACHINE}_4g_defconfig,sdcard"
Expand All @@ -50,6 +50,7 @@ UBOOT_CONFIG[som_1gr0] = "${MACHINE}_som_1gr0_defconfig,sdcard"
UBOOT_CONFIG[som_2g] = "${MACHINE}_som_2g_defconfig,sdcard"
UBOOT_CONFIG[som_2gr0] = "${MACHINE}_som_2g_defconfig,sdcard"
UBOOT_CONFIG[som_4g] = "${MACHINE}_som_4g_defconfig,sdcard"
UBOOT_CONFIG[smarc_2gr0] = "imx8mm_nitrogen_smarc_2gr0_defconfig,sdcard"

ATF_PLATFORM = "imx8mm"

Expand All @@ -74,6 +75,7 @@ IMAGE_BOOT_FILES:append = " \
flash.bin-${MACHINE}-som_2g;u-boot.${MACHINE}_som_2g \
flash.bin-${MACHINE}-som_2gr0;u-boot.${MACHINE}_som_2gr0 \
flash.bin-${MACHINE}-som_4g;u-boot.${MACHINE}_som_4g \
flash.bin-${MACHINE}-smarc_2gr0;u-boot.imx8mm_nitrogen_smarc_2gr0 \
"

# wic support
Expand Down

0 comments on commit cfb24c2

Please sign in to comment.