uboot-rockchip: add Rock Pi 4 support
authorMarty Jones <mj8263788@gmail.com>
Thu, 1 Oct 2020 07:04:48 +0000 (03:04 -0400)
committerDavid Bauer <mail@david-bauer.net>
Sat, 3 Oct 2020 20:51:50 +0000 (22:51 +0200)
Add support for the  Raxda Rock Pi 4.

Signed-off-by: Marty Jones <mj8263788@gmail.com>
package/boot/uboot-rockchip/Makefile

index d460e3723e16b1106ba858cfc9c72dac49644409..944c942efc45c3e19f7e4db9e7fe4cda311605d1 100644 (file)
@@ -38,6 +38,16 @@ endef
 
 # RK3399 boards
 
+define U-Boot/rock-pi-4-rk3399
+  BUILD_SUBTARGET:=armv8
+  NAME:=Rock Pi 4
+  BUILD_DEVICES:= \
+    radxa_rock-pi-4
+  DEPENDS:=+PACKAGE_u-boot-rock-pi-4-rk3399:arm-trusted-firmware-rockchip
+  PKG_BUILD_DEPENDS:=arm-trusted-firmware-rockchip
+  ATF:=rk3399_bl31.elf
+endef
+
 define U-Boot/rockpro64-rk3399
   BUILD_SUBTARGET:=armv8
   NAME:=RockPro64
@@ -49,6 +59,7 @@ define U-Boot/rockpro64-rk3399
 endef
 
 UBOOT_TARGETS := \
+  rock-pi-4-rk3399 \
   rockpro64-rk3399 \
   nanopi-r2s-rk3328