Skip to contentSkip to conversation

OMAP3: Update ARM's if then else logic in examples Makefile

U-Boot dirk.behme at googlemail.com 1 participant 1 message Nov 11, 2008

lore
Share & tools
lore
#0 lore raw

Update ARM's if then else logic.

---
 examples/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
examples/Makefile +3 -3
Index: u-boot-arm/examples/Makefile
===================================================================
@@ -30,12 +30,12 @@ LOAD_ADDR = 0x40000
 endif
 
 ifeq ($(ARCH),arm)
-LOAD_ADDR = 0xc100000
 ifeq ($(BOARD),omap2420h4)
 LOAD_ADDR = 0x80300000
-endif
-ifeq ($(CPU),omap3)
+else ifeq ($(CPU),omap3)
 LOAD_ADDR = 0x80300000
+else
+LOAD_ADDR = 0xc100000
 endif
 endif