From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1X0TzC-0001DX-4L for ptxdist@pengutronix.de; Fri, 27 Jun 2014 13:06:30 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1X0TzC-0003EM-2x for ptxdist@pengutronix.de; Fri, 27 Jun 2014 13:06:30 +0200 Date: Fri, 27 Jun 2014 13:06:30 +0200 From: Michael Olbrich Message-ID: <20140627110630.GC12903@pengutronix.de> References: <1403799766-1711-1-git-send-email-list-09_ptxdist@tqsc.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1403799766-1711-1-git-send-email-list-09_ptxdist@tqsc.de> Subject: Re: [ptxdist] [PATCH] u-boot: add config option for imx images Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Jun 26, 2014 at 06:22:46PM +0200, Markus Niebel wrote: > From: Markus Niebel > > For i.MX SOC the U-Boot build system generates imx-images > containing the DCD structure used by the ROM loader. > > This patch provides a config option and install rules for > this type of images. Thanks, applied. Michael > > Signed-off-by: Markus Niebel > --- > platforms/u-boot.in | 7 +++++++ > rules/u-boot.make | 4 ++++ > 2 files changed, 11 insertions(+) > > diff --git a/platforms/u-boot.in b/platforms/u-boot.in > index d318923..38684a0 100644 > --- a/platforms/u-boot.in > +++ b/platforms/u-boot.in > @@ -68,5 +68,12 @@ config U_BOOT_INSTALL_U_BOOT_IMG > > endif > > +config U_BOOT_INSTALL_U_BOOT_IMX > + prompt "install u-boot.imx" > + bool > + help > + Installing the U-Boot image with imx header (u-boot.imx) into platform > + image directory. Say yes if you are building for freescale i.MX SOC > + > endif > > diff --git a/rules/u-boot.make b/rules/u-boot.make > index af2b02d..44b59fa 100644 > --- a/rules/u-boot.make > +++ b/rules/u-boot.make > @@ -68,6 +68,9 @@ endif > ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMG > @install -D -m644 $(U_BOOT_DIR)/u-boot.img $(IMAGEDIR)/u-boot.img > endif > +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMX > + @install -D -m644 $(U_BOOT_DIR)/u-boot.imx $(IMAGEDIR)/u-boot.imx > +endif > @$(call touch) > > # ---------------------------------------------------------------------------- > @@ -78,5 +81,6 @@ $(STATEDIR)/u-boot.clean: > @$(call targetinfo) > @$(call clean_pkg, U_BOOT) > @rm -f $(IMAGEDIR)/u-boot.bin $(IMAGEDIR)/u-boot.srec $(IMAGEDIR)/u-boot.elf > + @rm -f $(IMAGEDIR)/u-boot.imx > > # vim: syntax=make > -- > 1.7.9.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de