[PATCH 04/12] rockchip: rk3399-gru: Fix include of TPL in u-boot.rom image
Kever Yang
kever.yang at rock-chips.com
Fri Jan 3 07:44:05 CET 2025
On 2024/12/13 07:57, Jonas Karlman wrote:
> The chromebook specific u-boot.rom image does not include TPL when
> building with TPL=y or ROCKCHIP_EXTERNAL_TPL=y.
>
> Fix this by adding rockchip-tpl and u-boot-tpl nodes to the mkimage node
> for the u-boot.rom binman image.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
> index 81a3c6fc972b..bd7527dde223 100644
> --- a/arch/arm/dts/rk3399-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-u-boot.dtsi
> @@ -39,6 +39,14 @@
>
> mkimage {
> args = "-n rk3399 -T rkspi";
> + multiple-data-files;
> +#ifdef CONFIG_ROCKCHIP_EXTERNAL_TPL
> + rockchip-tpl {
> + };
> +#elif defined(CONFIG_TPL)
> + u-boot-tpl {
> + };
> +#endif
> u-boot-spl {
> };
> };
More information about the U-Boot
mailing list