From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 06 Sep 2012 21:59:49 +0200 Subject: [U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile In-Reply-To: <5048E212.2080308@ti.com> References: <1346918700-32429-1-git-send-email-sbabic@denx.de> <1346918700-32429-6-git-send-email-sbabic@denx.de> <5048E212.2080308@ti.com> Message-ID: <504900B5.8080506@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/09/2012 19:49, Tom Rini wrote: > On 09/06/2012 01:04 AM, Stefano Babic wrote: >> Signed-off-by: Stefano Babic >> --- >> spl/Makefile | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/spl/Makefile b/spl/Makefile >> index f96c08e..77fc405 100644 >> --- a/spl/Makefile >> +++ b/spl/Makefile >> @@ -109,6 +109,12 @@ $(OBJTREE)/MLO: $(obj)u-boot-spl.bin >> -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ >> endif >> >> +ifneq ($(CONFIG_IMX_CONFIG),) >> +$(OBJTREE)/MLO: $(obj)u-boot-spl.bin >> + $(OBJTREE)/tools/mkimage -n $(SRCTREE)/$(CONFIG_IMX_CONFIG) -T imximage \ >> + -e $(CONFIG_SPL_TEXT_BASE) -d $< $@ >> +endif >> + >> ALL-y += $(obj)u-boot-spl.bin >> >> ifdef CONFIG_SAMSUNG > > Is that really the name you want? MLO comes from some part or another > (I've read it, just can't recall off-hand) of the IT ROM docs saying it > will read a file named MLO. I know... > Is mx35 in the same boat? > Or just looking > for a common name? Right. It makes no sense that the binary for Freescale's SOCs has a name, for TI another one, for...we can generates less confusion if we uses the same name. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================