ARM: add u-boot.imx as target for i.MX SOCs
PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs
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).
--- arch/arm/cpu/armv7/config.mk | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/config.mk +3 -0
@@ -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
Signature · 1 line
1.7.5.4
PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs
arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36
Quoted 6 lines · Stefano Babic
arch/arm/cpu/armv7/config.mk +3
-0+ifneq ($(CONFIG_IMX_CONFIG),) +ALL-y ?+= $(obj)u-boot.imx +endif
i guess CONFIG_IMX_CONFIG is a free-form string and not just boolean, so:
-mike
PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs
In reply to Stefano BabicQuoted 18 lines · Stefano Babic
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 <[email protected]>Cc Albert ARIBAUD <[email protected]>CC Lo?c Minier <[email protected]>CC Mike Frysinger <[email protected]>--- arch/arm/cpu/armv7/config.mk | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/cpu/armv7/config.mk +0
-0
arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36
Quoted 6 lines
arch/arm/cpu/armv7/config.mk +3
-0@@ -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:
Any chance to still get this into 2012.04?
Thanks!
Dirk
PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs
Quoted 30 lines · Dirk Behme
Quoted 23 lines · Stefano Babic
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 <[email protected]>Cc Albert ARIBAUD <[email protected]>CC Lo?c Minier <[email protected]>CC Mike Frysinger <[email protected]>--- arch/arm/cpu/armv7/config.mk | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/cpu/armv7/config.mk +0
-0@@ -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)arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36
Quoted 3 lines
arch/arm/cpu/armv7/config.mk +3
-0+ifneq ($(CONFIG_IMX_CONFIG),) +ALL-y += $(obj)u-boot.imx +endifNot tested yet, but I like the idea:
Quoted 3 lines
Acked-by Dirk Behme <[email protected]>Any chance to still get this into 2012.04?
This was my intention. Albert, could you pick up this patch ?
Thanks,
Stefano
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs
In reply to Dirk BehmeQuoted 32 lines · Dirk Behme
Quoted 25 lines · Stefano Babic
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 <[email protected]>Cc Albert ARIBAUD <[email protected]>CC Lo?c Minier <[email protected]>CC Mike Frysinger <[email protected]>---
arch/arm/cpu/armv7/config.mk| 3 +++1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/cpu/armv7/config.mk +0
-0@@ -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)arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36
Quoted 3 lines
arch/arm/cpu/armv7/config.mk +3
-0+ifneq ($(CONFIG_IMX_CONFIG),) +ALL-y += $(obj)u-boot.imx +endifNot tested yet, but I like the idea:
Quoted 1 line
Acked-by Dirk Behme <[email protected]>
Dirk