[openwrt/openwrt] uboot-rockchip: add Rock Pi 4 support

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 3 16:53:44 EDT 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6cc99c656d4723a31362d59f0427e0314ce9e9c0

commit 6cc99c656d4723a31362d59f0427e0314ce9e9c0
Author: Marty Jones <mj8263788 at gmail.com>
AuthorDate: Thu Oct 1 03:04:48 2020 -0400

    uboot-rockchip: add Rock Pi 4 support
    
    Add support for the  Raxda Rock Pi 4.
    
    Signed-off-by: Marty Jones <mj8263788 at gmail.com>
---
 package/boot/uboot-rockchip/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index d460e3723e..944c942efc 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -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
 



More information about the lede-commits mailing list