summaryrefslogtreecommitdiffstats
path: root/board/tqm5200/tqm5200.c
diff options
context:
space:
mode:
authorMartin Krause <martin.krause@tqs.de>2007-10-24 08:41:27 +0200
committerMartin Krause <martin.krause@tqs.de>2007-10-24 09:30:13 +0200
commitbe4a87f11e297a5cededbf7dd71c0248f3874acd (patch)
tree0a0f21565efa05bcf86664f9316a003a4c27df91 /board/tqm5200/tqm5200.c
parent341cc69d234dd1c361676395cf592113eb90c54c (diff)
downloadtalos-obmc-uboot-be4a87f11e297a5cededbf7dd71c0248f3874acd.tar.gz
talos-obmc-uboot-be4a87f11e297a5cededbf7dd71c0248f3874acd.zip
TQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller
Some commands for the STK52xx base board try to access the SM501 grafic controller. But the TQM5200S has no grafic controller (only the TQM5200 and the TQM5200B have). This patch deactivates the commands accessing the SM501 for the TQM5200S. Signed-off-by: Martin Krause <martin.krause@tqs.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'board/tqm5200/tqm5200.c')
-rw-r--r--board/tqm5200/tqm5200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index 29d6f00427..d10cb5937d 100644
--- a/board/tqm5200/tqm5200.c
+++ b/board/tqm5200/tqm5200.c
@@ -543,6 +543,7 @@ int last_stage_init (void)
__asm__ volatile ("sync");
}
+#ifndef CONFIG_TQM5200S /* The TQM5200S has no SM501 grafic controller */
/*
* Check for Grafic Controller
*/
@@ -586,6 +587,7 @@ int last_stage_init (void)
#endif
return 0;
+#endif /* !CONFIG_TQM5200S */
}
#ifdef CONFIG_VIDEO_SM501
OpenPOWER on IntegriCloud