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:
parent
ea9a34f205
commit
e7b0a7affc
|
|
@ -59,7 +59,7 @@ if test "${module_has_wifi}" = "1" && test -z "${disable_wifi}"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Apply DVKv1 overlay if the board_version is 1
|
# 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}
|
setenv overlays _ov_board_v1_ccmp15-dvk.dtbo,${overlays}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue