From: Kever Yang <kever.yang@rock-chips.com> To: Jagan Teki <jagan@amarulasolutions.com>, Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: u-boot@lists.denx.de, "Matwey V . Kornilov" <matwey.kornilov@gmail.com>, linux-amarula@amarulasolutions.com, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v4 1/7] Makefile: Add rockchip image type Date: Sun, 10 Nov 2019 22:17:50 +0800 [thread overview] Message-ID: <b960fb69-88d2-8667-e141-b8bf3597f917@rock-chips.com> (raw) In-Reply-To: <20191023195652.7158-2-jagan@amarulasolutions.com> On 2019/10/24 上午3:56, Jagan Teki wrote: > 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: Kever Yang <kever.yang@rock-chips.com> > 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> Thanks, - Kever > --- > Makefile | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 6fda3268e7..3e05d3fcfe 100644 > --- a/Makefile > +++ b/Makefile > @@ -1334,7 +1334,15 @@ u-boot-with-spl.bin: $(SPL_IMAGE) $(SPL_PAYLOAD) FORCE > $(call if_changed,pad_cat) > > ifeq ($(CONFIG_ARCH_ROCKCHIP),y) > -MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T rksd > + > +# rockchip image type > +ifeq ($(CONFIG_SPI_FLASH_SUPPORT),y) > +ROCKCHIP_IMG_TYPE := rkspi > +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 > $(call if_changed,mkimage) > idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
WARNING: multiple messages have this Message-ID (diff)
From: Kever Yang <kever.yang@rock-chips.com> To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v4 1/7] Makefile: Add rockchip image type Date: Sun, 10 Nov 2019 22:17:50 +0800 [thread overview] Message-ID: <b960fb69-88d2-8667-e141-b8bf3597f917@rock-chips.com> (raw) In-Reply-To: <20191023195652.7158-2-jagan@amarulasolutions.com> On 2019/10/24 上午3:56, Jagan Teki wrote: > 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: Kever Yang <kever.yang@rock-chips.com> > 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> Thanks, - Kever > --- > Makefile | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 6fda3268e7..3e05d3fcfe 100644 > --- a/Makefile > +++ b/Makefile > @@ -1334,7 +1334,15 @@ u-boot-with-spl.bin: $(SPL_IMAGE) $(SPL_PAYLOAD) FORCE > $(call if_changed,pad_cat) > > ifeq ($(CONFIG_ARCH_ROCKCHIP),y) > -MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T rksd > + > +# rockchip image type > +ifeq ($(CONFIG_SPI_FLASH_SUPPORT),y) > +ROCKCHIP_IMG_TYPE := rkspi > +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 > $(call if_changed,mkimage) > idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE
next prev parent reply other threads:[~2019-11-10 14:17 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-23 19:56 [PATCH v4 0/7] rockchip: Add Binman support Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki [not found] ` <20191023195652.7158-1-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> 2019-10-23 19:56 ` [PATCH v4 1/7] Makefile: Add rockchip image type Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki 2019-11-10 14:17 ` Kever Yang [this message] 2019-11-10 14:17 ` Kever Yang 2019-10-23 19:56 ` [PATCH v4 2/7] Makefile: rockchip: Suffix platform type with tpl name Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki [not found] ` <20191023195652.7158-3-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> 2019-11-10 14:18 ` Kever Yang 2019-11-10 14:18 ` [U-Boot] " Kever Yang 2019-10-23 19:56 ` [PATCH v4 3/7] Makefile: rockchip: Support SPL-alone mkimage Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki [not found] ` <20191023195652.7158-4-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> 2019-11-10 14:18 ` Kever Yang 2019-11-10 14:18 ` [U-Boot] " Kever Yang 2019-10-23 19:56 ` [PATCH v4 4/7] Makefile: rockchip: Use u-boot preferred spl name Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki 2019-10-23 19:56 ` [PATCH v4 5/7] arm: dts: rk3036: Add rk3036-u-boot.dtsi Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki [not found] ` <20191023195652.7158-6-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> 2019-11-10 14:19 ` Kever Yang 2019-11-10 14:19 ` [U-Boot] " Kever Yang 2019-10-23 19:56 ` [PATCH v4 6/7] rockchip: Add Single boot image (with binman, pad_cat) Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki [not found] ` <20191023195652.7158-7-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> 2019-11-10 14:19 ` Kever Yang 2019-11-10 14:19 ` [U-Boot] " Kever Yang 2019-10-23 19:56 ` [PATCH v4 7/7] doc: boards: Add rockchip documentation Jagan Teki 2019-10-23 19:56 ` [U-Boot] " Jagan Teki 2019-11-10 14:30 ` Kever Yang 2019-11-10 14:30 ` [U-Boot] " Kever Yang 2019-11-10 14:33 ` Jagan Teki 2019-11-10 14:33 ` [U-Boot] " 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=b960fb69-88d2-8667-e141-b8bf3597f917@rock-chips.com \ --to=kever.yang@rock-chips.com \ --cc=jagan@amarulasolutions.com \ --cc=linux-amarula@amarulasolutions.com \ --cc=linux-rockchip@lists.infradead.org \ --cc=matwey.kornilov@gmail.com \ --cc=philipp.tomsich@theobroma-systems.com \ --cc=sjg@chromium.org \ --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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.