ccmp15: add DT overlay for the DVK v1
This commit adds an overlay for DVK v1 and modifies the boot script to apply it based on the board_version variable. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
5c5fb956f2
commit
0773e31fd4
|
|
@ -46,6 +46,7 @@ STM32MP_KERNEL_DEVICETREE:ccmp15-dvk += " \
|
|||
_ov_board_mikroe-gyro-click_ccmp15-dvk.dtbo \
|
||||
_ov_board_mikroe-i2c-to-spi-click_ccmp15-dvk.dtbo \
|
||||
_ov_board_uart7_rs232_ccmp15-dvk.dtbo \
|
||||
_ov_board_v1_ccmp15-dvk.dtbo \
|
||||
_ov_som_bt_ccmp15.dtbo \
|
||||
_ov_som_wifi_ccmp15.dtbo \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -58,6 +58,11 @@ if test "${module_has_wifi}" = "1" && test -z "${disable_wifi}"; then
|
|||
setenv overlays _ov_som_wifi_ccmp15.dtbo,${overlays}
|
||||
fi
|
||||
|
||||
# Apply DVKv1 overlay if the board_version is 1
|
||||
if test "${board_version}" -eq "1"; then
|
||||
setenv overlays _ov_board_v1_ccmp15-dvk.dtbo,${overlays}
|
||||
fi
|
||||
|
||||
dboot linux nand ${mtdbootpart}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue