Update ARM's if then else logic.

Signed-off-by: Dirk Behme <[EMAIL PROTECTED]>

---

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
 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to