From: Michael Evans Date: Mon, 13 Jul 2009 19:13:45 +0000 (+0100) Subject: Fix examples for OMAP3 boards... X-Git-Tag: v2009.08-rc2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61c68ae0b43bb5d6ab32958c45289aa197b1a2d1;p=u-boot Fix examples for OMAP3 boards... 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 Edited commit message. Signed-off-by: Wolfgang Denk --- diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index dbcfa920e6..d2e811a8b5 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -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