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

Kever Yang kever.yang at rock-chips.com
Thu May 21 16:21:13 CEST 2020


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";
>   		};




More information about the U-Boot mailing list