board: puma: use dtb given on the commandline instead of using u-boot.dtb
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 6 May 2020 11:06:56 +0000 (13:06 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 22 May 2020 09:24:30 +0000 (17:24 +0800)
The make_fit_spl scripts get the dtb to use as commandline option,
so use it for puma as well.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
board/theobroma-systems/puma_rk3399/fit_spl_atf.sh

index 420e7daf4cebad89ff0de1837f39efd5b9cab246..c9396577a92963e6d51426e9e312ee1b1f17fb60 100755 (executable)
@@ -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";
                };