]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix examples for OMAP3 boards...
authorMichael Evans <horse_dung@hotmail.com>
Mon, 13 Jul 2009 19:13:45 +0000 (20:13 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 8 Aug 2009 09:57:22 +0000 (11:57 +0200)
The attached patch corrects an error in the examples/Makefile which
causes the applications in the examples directory to hang on OMAP3
based boards. The current Makefile sets -Ttext during linking to
0x0c100000 which is outside of addressable SDRAM memory. The script
corrects the existing ifeq...else...endif logic to look at the VENDOR
tag rather than the CPU tag.

The patch affects the following configs: omap3_beagle_config,
omap3_overo_config, omap3_evm_config, omap3_pandora_config,
omap3_zoom1_config and omap3_zoom2_config.

Signed-off-by: Michael Evans <horse_dung@hotmail.com>
Edited commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
examples/standalone/Makefile

index dbcfa920e61dbfd5231deeb2c750a864ec5990b8..d2e811a8b50ae914237bc9f3e1f0a238fbf23665 100644 (file)
@@ -33,7 +33,7 @@ ifeq ($(ARCH),arm)
 ifeq ($(BOARD),omap2420h4)
 LOAD_ADDR = 0x80300000
 else
-ifeq ($(CPU),omap3)
+ifeq ($(SOC),omap3)
 LOAD_ADDR = 0x80300000
 else
 LOAD_ADDR = 0xc100000