uboot-rockchip: add Radxa CM3 IO board support
authorMarius Durbaca <mariusd84@gmail.com>
Tue, 20 Feb 2024 14:33:11 +0000 (14:33 +0000)
committerNick Hainke <vincent@systemli.org>
Wed, 21 Feb 2024 12:29:26 +0000 (13:29 +0100)
Add support for the Radxa CM3 IO board.

Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
package/boot/uboot-rockchip/Makefile

index 595d788973b7d1f85634f43e4c375a3581681aa0..cc84d5d4ab2e006c9a05395d092ea6312e70fd52 100644 (file)
@@ -126,6 +126,22 @@ define U-Boot/rockpro64-rk3399
 endef
 
 
+# RK3566 boards
+
+define U-Boot/rk3566/Default
+  BUILD_SUBTARGET:=armv8
+  DEPENDS:=+PACKAGE_u-boot-$(1):trusted-firmware-a-rk3566
+  ATF:=rk3568_bl31_v1.43.elf
+  TPL:=rk3566_ddr_1056MHz_v1.18.bin
+endef
+
+define U-Boot/radxa-cm3-io-rk3566
+  $(U-Boot/rk3566/Default)
+  NAME:=CM3 IO
+  BUILD_DEVICES:= \
+    radxa_cm3-io
+endef
+
 # RK3568 boards
 
 define U-Boot/rk3568/Default
@@ -162,6 +178,7 @@ UBOOT_TARGETS := \
   roc-cc-rk3328 \
   rock64-rk3328 \
   rock-pi-e-rk3328 \
+  radxa-cm3-io-rk3566 \
   nanopi-r5c-rk3568 \
   nanopi-r5s-rk3568