rockchip: rk3399-gru: Fix include of TPL in u-boot.rom image
authorJonas Karlman <jonas@kwiboo.se>
Thu, 12 Dec 2024 23:57:11 +0000 (23:57 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 11 Jan 2025 00:56:18 +0000 (18:56 -0600)
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@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-u-boot.dtsi

index 81a3c6f..bd7527d 100644 (file)
 
                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 {
                        };
                };