Skip to contentSkip to conversation

board: puma: use dtb given on the commandline instead of using u-boot.dtb

PATCH New Heiko Stuebner 2 participants 2 messages May 6, 2020 – May 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: puma: use dtb given on the commandline instead of using u-boot.dtb

From: Heiko Stuebner <[email protected]>

The make_fit_spl scripts get the dtb to use as commandline option, so use it for puma as well.

---
Longterm we'll want to switch back to the main rockchip fit generator, now that the old atf 4gb .bin is history for quite some time.

 board/theobroma-systems/puma_rk3399/fit_spl_atf.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/theobroma-systems/puma_rk3399/fit_spl_atf.sh +1 -1
index 420e7daf4c..c9396577a9 100755
@@ -69,7 +69,7 @@ cat << __HEADER_EOF
                 };
 		fdt {
 			description = "RK3399-Q7 (Puma) flat device-tree";
-			data = /incbin/("u-boot.dtb");
+			data = /incbin/("$1");
 			type = "flat_dt";
 			compression = "none";
 		};
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 board: puma: use dtb given on the commandline instead of using u-boot.dtb

Quoted 6 lines · Heiko Stuebner

From: Heiko Stuebner <[email protected]>

The make_fit_spl scripts get the dtb to use as commandline option, so use it for puma as well.

Thanks,
- Kever

Quoted 20 lines

---
Longterm we'll want to switch back to the main rockchip fit generator, now that the old atf 4gb .bin is history for quite some time.

  board/theobroma-systems/puma_rk3399/fit_spl_atf.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/theobroma-systems/puma_rk3399/fit_spl_atf.sh +1 -1
index 420e7daf4c..c9396577a9 100755
@@ -69,7 +69,7 @@ cat << __HEADER_EOF
                  };
  		fdt {
  			description = "RK3399-Q7 (Puma) flat device-tree";
-			data = /incbin/("u-boot.dtb");
+			data = /incbin/("$1");
  			type = "flat_dt";
  			compression = "none";
  		};