From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 04 Apr 2012 09:57:03 +0200 Subject: [U-Boot] [PATCH] ARM: add u-boot.imx as target for i.MX SOCs In-Reply-To: <4F7BE233.1000608@de.bosch.com> References: <1333463576-8365-1-git-send-email-sbabic@denx.de> <4F7BE233.1000608@de.bosch.com> Message-ID: <4F7BFECF.2040401@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 04/04/2012 07:54, Dirk Behme wrote: > On 03.04.2012 16:32, Stefano Babic wrote: >> Freescale SOCs require an header to u-boot.bin >> >> The patch adds u-boot.imx to the default targets >> if the imx file is set (IMX_CONFIG). >> >> Signed-off-by: Stefano Babic >> Cc: Albert ARIBAUD >> CC: Lo?c Minier >> CC: Mike Frysinger >> --- >> arch/arm/cpu/armv7/config.mk | 3 +++ >> 1 files changed, 3 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk >> index 83ddf10..f532d62 100644 >> --- a/arch/arm/cpu/armv7/config.mk >> +++ b/arch/arm/cpu/armv7/config.mk >> @@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5 >> # >> ========================================================================= >> PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call >> cc-option,-malignment-traps,)) >> PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT) >> +ifneq ($(CONFIG_IMX_CONFIG),) >> +ALL-y += $(obj)u-boot.imx >> +endif > > Not tested yet, but I like the idea: > > Acked-by: Dirk Behme > > Any chance to still get this into 2012.04? This was my intention. Albert, could you pick up this patch ? Thanks, 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 =====================================================================