]> git.sur5r.net Git - u-boot/blobdiff - examples/Makefile
8xx: add support for new keymile kmsupx4 board.
[u-boot] / examples / Makefile
index d63fa703232a92af2069e76fd52a006252650e60..dbcfa920e61dbfd5231deeb2c750a864ec5990b8 100644 (file)
@@ -30,8 +30,16 @@ LOAD_ADDR = 0x40000
 endif
 
 ifeq ($(ARCH),arm)
+ifeq ($(BOARD),omap2420h4)
+LOAD_ADDR = 0x80300000
+else
+ifeq ($(CPU),omap3)
+LOAD_ADDR = 0x80300000
+else
 LOAD_ADDR = 0xc100000
 endif
+endif
+endif
 
 ifeq ($(ARCH),mips)
 LOAD_ADDR = 0x80200000 -T mips.lds
@@ -63,8 +71,14 @@ endif
 
 ifeq ($(ARCH),sh)
 LOAD_ADDR = 0x8C000000
+ifeq ($(CPU),sh2)
+BIG_ENDIAN=y
+endif
 endif
 
+ifeq ($(ARCH),sparc)
+LOAD_ADDR = 0x00000000 -L $(gcclibdir) -T sparc.lds
+endif
 
 include $(TOPDIR)/config.mk
 
@@ -73,9 +87,9 @@ SREC  = hello_world.srec
 BIN    = hello_world.bin
 
 ifeq ($(CPU),mpc8xx)
-ELF    = test_burst
-SREC   = test_burst.srec
-BIN    = test_burst.bin
+ELF    += test_burst
+SREC   += test_burst.srec
+BIN    += test_burst.bin
 endif
 
 ifeq ($(ARCH),i386)
@@ -91,9 +105,10 @@ BIN += sched.bin
 endif
 
 ifeq ($(ARCH),blackfin)
-ELF    += smc91111_eeprom
-SREC   += smc91111_eeprom.srec
-BIN    += smc91111_eeprom.bin
+BFIN_BIN = smc91111_eeprom smc911x_eeprom
+ELF    += $(BFIN_BIN)
+SREC   += $(addsuffix .srec,$(BFIN_BIN))
+BIN    += $(addsuffix .bin,$(BFIN_BIN))
 endif
 
 # The following example is pretty 8xx specific...