From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 21 Nov 2011 14:09:23 -0500 Subject: [U-Boot] [RFC PATCH v2 12/12] arm, davinci: Add support for generating AIS images to the Makefile In-Reply-To: <1321893227-19545-14-git-send-email-christian.riesch@omicron.at> References: <1321893227-19545-1-git-send-email-christian.riesch@omicron.at> <1321893227-19545-14-git-send-email-christian.riesch@omicron.at> Message-ID: <201111211409.23955.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 21 November 2011 11:33:47 Christian Riesch wrote: > --- a/Makefile > +++ b/Makefile > > +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin > + $(obj)tools/mkimage -s -n /dev/null -T aisimage \ > + -e $(CONFIG_SPL_TEXT_BASE) -d $(obj)spl/u-boot-spl.bin \ > + $(obj)spl/u-boot-spl.ais > + $(OBJCOPY) ${OBJCFLAGS} -I binary --pad-to=$(PAD_TO) -O binary > $(obj)spl/u-boot-spl.ais $(obj)spl/u-boot-spl-pad.ais + cat > $(obj)spl/u-boot-spl-pad.ais $(obj)u-boot.bin > $(obj)u-boot.ais + rm > $(obj)spl/u-boot-spl.ais > + rm $(obj)spl/u-boot-spl-pad.ais > + can't this live in arch/arm/.../config.mk somewhere ? > --- /dev/null > +++ b/board/davinci/da8xxevm/config.mk > > +# required for SPI flash SPL > +# > + > +PAD_TO := 32768 "PAD_TO" is way too generic a name. this should also be a CONFIG_XXX define in the board config header rather than using config.mk. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: