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 <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2023-03-08 10:57:05 +01:00
parent ea9a34f205
commit e7b0a7affc
1 changed files with 1 additions and 1 deletions

View File

@ -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