[U-Boot] [PATCH] ARM: add u-boot.imx as target for i.MX SOCs

Dirk Behme dirk.behme at googlemail.com
Fri Apr 6 08:12:42 CEST 2012


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 <sbabic at denx.de>
>> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
>> CC: Loïc Minier <loic.minier at linaro.org>
>> CC: Mike Frysinger <vapier at gentoo.org>
>> ---
>> 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 <dirk.behme at de.bosch.com>

Tested-by: Dirk Behme <dirk.behme at googlemail.com>

Dirk


More information about the U-Boot mailing list