diff mbox series

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

Message ID 20200506110656.955464-1-heiko@sntech.de
State New
Headers show
Series board: puma: use dtb given on the commandline instead of using u-boot.dtb | expand

Commit Message

Heiko Stübner May 6, 2020, 11:06 a.m. UTC
From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>

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 at theobroma-systems.com>
---
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(-)

Comments

Kever Yang May 21, 2020, 2:21 p.m. UTC | #1
On 2020/5/6 ??7:06, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
>
> 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 at theobroma-systems.com>

Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> 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(-)
>
> diff --git a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
> index 420e7daf4c..c9396577a9 100755
> --- a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
> +++ b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
> @@ -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";
>   		};
diff mbox series

Patch

diff --git a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
index 420e7daf4c..c9396577a9 100755
--- a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
+++ b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
@@ -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";
 		};