[v7,1/7] Makefile: Add rockchip image type
diff mbox series

Message ID 20200109184622.3098-2-jagan@amarulasolutions.com
State New
Headers show
  • rockchip: Add Binman support
Related show

Commit Message

Jagan Teki Jan. 9, 2020, 6:46 p.m. UTC
Add rockchip image type support. right now the image
type marked with rksd, So create image type variable
with required image type like rksd or rkspi.

Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
 Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff mbox series

diff --git a/Makefile b/Makefile
index e20a206239..e264b2a49a 100644
--- a/Makefile
+++ b/Makefile
@@ -1374,7 +1374,15 @@  u-boot-with-spl.bin: $(SPL_IMAGE) $(SPL_PAYLOAD) FORCE
 	$(call if_changed,pad_cat)
-MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T rksd
+# rockchip image type
+ifeq ($(CONFIG_SPL_SPI_LOAD),y)
 tpl/u-boot-tpl.img: tpl/u-boot-tpl.bin FORCE
 	$(call if_changed,mkimage)
 idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE