From e7b0a7affc4c207fe4c27187d6e7e6c14f2d50db Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 8 Mar 2023 10:57:05 +0100 Subject: [PATCH] cmp15: apply DT overlay for the DVK v1 on boards without board_version defined This commit modifies the boot script condition to apply the overlay for DVK v1 on boards without the board_version variable defined. Signed-off-by: Arturo Buzarra --- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt index 3ba6307b2..9cf317362 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp15-dvk/boot.txt @@ -59,7 +59,7 @@ if test "${module_has_wifi}" = "1" && test -z "${disable_wifi}"; then fi # Apply DVKv1 overlay if the board_version is 1 -if test "${board_version}" -eq "1"; then +if test -z "${board_version}" || test "${board_version}" -eq "1"; then setenv overlays _ov_board_v1_ccmp15-dvk.dtbo,${overlays} fi