From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH v7 2/7] Makefile: rockchip: Suffix platform type with tpl name
Date: Fri, 10 Jan 2020 00:16:17 +0530 [thread overview]
Message-ID: <20200109184622.3098-3-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20200109184622.3098-1-jagan@amarulasolutions.com>
Most of the platforms uses the platform type on their boot
stage image naming conventions in makefile like,
u-boot-x86-start16-tpl.bin - x86 start16 TPL bin
u-boot-spl-mtk.bin - Mediatek SPL bin
This would help to understand the users to what that
particular image belongs to? and less confused.
On that note, suffix platform type rockchip for existing
u-boot-tpl.img so now it become u-boot-tpl-rockchip.bin
Also, bin is more conventional way to include it on tools
like binman, pad_cat etc in future patches.
Note: usage of platform type doesn't follow consistent order
as of now.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index e264b2a49a..50ac12fe9b 100644
--- a/Makefile
+++ b/Makefile
@@ -1382,10 +1382,10 @@ else
ROCKCHIP_IMG_TYPE := rksd
endif
-MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE)
-tpl/u-boot-tpl.img: tpl/u-boot-tpl.bin FORCE
+MKIMAGEFLAGS_u-boot-tpl-rockchip.bin = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE)
+tpl/u-boot-tpl-rockchip.bin: tpl/u-boot-tpl.bin FORCE
$(call if_changed,mkimage)
-idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE
+idbloader.img: tpl/u-boot-tpl-rockchip.bin spl/u-boot-spl.bin FORCE
$(call if_changed,cat)
endif
--
2.18.0.321.gffc6fa0e3
next prev parent reply other threads:[~2020-01-09 18:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 18:46 [PATCH v7 0/7] rockchip: Add Binman support Jagan Teki
2020-01-09 18:46 ` [PATCH v7 1/7] Makefile: Add rockchip image type Jagan Teki
2020-01-09 18:46 ` Jagan Teki [this message]
2020-01-09 18:46 ` [PATCH v7 3/7] Makefile: rockchip: Support SPL-alone mkimage Jagan Teki
2020-01-09 18:46 ` [PATCH v7 4/7] arm: dts: rk3036: Add rk3036-u-boot.dtsi Jagan Teki
2020-01-09 18:46 ` [PATCH v7 5/7] arm: dts: rk3188: Add rk3188-u-boot.dtsi Jagan Teki
2020-01-17 6:53 ` Kever Yang
2020-01-09 18:46 ` [PATCH v7 6/7] rockchip: Add Single boot image (with binman, pad_cat) Jagan Teki
2020-01-09 18:46 ` [PATCH v7 7/7] doc: boards: Add rockchip documentation Jagan Teki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200109184622.3098-3-jagan@amarulasolutions.com \
--to=jagan@amarulasolutions.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox