ARM64: dts: ccimx8mn: add overlay for DVK version < 3

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-7279
This commit is contained in:
Hector Palacios 2020-10-14 16:04:37 +02:00
parent 4668745523
commit 0a0f376ea6
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,7 @@ UBOOT_DTB_NAME = "ccimx8mn-dvk.dtb"
KERNEL_DEVICETREE ?= " \ KERNEL_DEVICETREE ?= " \
digi/ccimx8mn-dvk.dtb \ digi/ccimx8mn-dvk.dtb \
digi/_ov_board_lvds_ccimx8mn-dvk.dtbo \ digi/_ov_board_lvds_ccimx8mn-dvk.dtbo \
digi/_ov_board_v1-v2_ccimx8mn-dvk.dtbo \
digi/_ov_som_bt_ccimx8mn.dtbo \ digi/_ov_som_bt_ccimx8mn.dtbo \
digi/_ov_som_mca-keypad_ccimx8mn.dtbo \ digi/_ov_som_mca-keypad_ccimx8mn.dtbo \
digi/_ov_som_quad_ccimx8mn.dtbo \ digi/_ov_som_quad_ccimx8mn.dtbo \

View File

@ -42,6 +42,11 @@ if test "${soc_type}" = "imx8mn"; then
setenv overlays _ov_som_quad_ccimx8mn.dtbo,${overlays} setenv overlays _ov_som_quad_ccimx8mn.dtbo,${overlays}
fi fi
# Apply DVK v1-v2 overlay if the board version is < 3
if test "${board_version}" -lt "3"; then
setenv overlays _ov_board_v1-v2_ccimx8mn-dvk.dtbo,${overlays}
fi
# Get the UUID of the configured boot partition. # Get the UUID of the configured boot partition.
part uuid mmc ${mmcbootdev}:${mmcpart} bootpart part uuid mmc ${mmcbootdev}:${mmcpart} bootpart
# Check the boot source. # Check the boot source.