From mboxrd@z Thu Jan 1 00:00:00 1970 From: dirk.behme at googlemail.com Date: Tue, 11 Nov 2008 17:51:25 +0100 Subject: [U-Boot] [PATCH-OMAP3 v2] OMAP3: Update ARM's if then else logic in examples Makefile Message-ID: <4919b80c.1c185e0a.32ca.ffffeb22@mx.google.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Update ARM's if then else logic. Signed-off-by: Dirk Behme --- Changes in v2: - Make make happy regaring if then else logic "each if can only have one else". Don't take examples from mailing list without testing ;) Version v2 makes previous version v1 of this patch obsolete. examples/Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Index: u-boot-arm/examples/Makefile =================================================================== --- u-boot-arm.orig/examples/Makefile +++ u-boot-arm/examples/Makefile @@ -30,12 +30,14 @@ LOAD_ADDR = 0x40000 endif ifeq ($(ARCH),arm) -LOAD_ADDR = 0xc100000 ifeq ($(BOARD),omap2420h4) LOAD_ADDR = 0x80300000 -endif +else ifeq ($(CPU),omap3) LOAD_ADDR = 0x80300000 +else +LOAD_ADDR = 0xc100000 +endif endif endif