ccimx93: add support for NPU dtb overlay

Load the NPU overlay based on the CPU model.

https://onedigi.atlassian.net/browse/DEL-8565
https://onedigi.atlassian.net/browse/DEL-8563

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2023-06-07 09:44:48 +02:00
parent a04af0cbc1
commit 130a5c796c
1 changed files with 11 additions and 0 deletions

View File

@ -75,6 +75,17 @@ if test "${module_has_mca}" = "1" && test -z "${disable_mca}"; then
setenv overlays _ov_som_mca_ccimx93.dtbo,${overlays}
fi
if test "${cpu_type}" = "imx9352" || \
test "${cpu_type}" = "imx9351" || \
test "${cpu_type}" = "imx9322" || \
test "${cpu_type}" = "imx9321"; then
module_has_npu="1"
fi
if test "${module_has_npu}" = "1" && test -z "${disable_npu}"; then
setenv overlays _ov_som_npu_ccimx93.dtbo,${overlays}
fi
dboot linux mmc ${mmcbootdev}:${mmcpart}
#