summaryrefslogtreecommitdiffstats
path: root/board/fads/lamp.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-12-07 21:39:28 +0000
committerwdenk <wdenk>2003-12-07 21:39:28 +0000
commitb028f7151379c5bb6814099fbbccb31d8b07b891 (patch)
tree6b96f658b7b8f2f3ecd21b0e102b01aea1998d74 /board/fads/lamp.c
parentb4676a25e2feb15826d960f4a216c3c429d2de75 (diff)
downloadtalos-obmc-uboot-b028f7151379c5bb6814099fbbccb31d8b07b891.tar.gz
talos-obmc-uboot-b028f7151379c5bb6814099fbbccb31d8b07b891.zip
* Patch by Yuli Barcohen, 3 Dec 2003:
"revive" U-Boot support for old Motorola MPC860ADS board * Patch by Cam(ilo?), 03 Dec 2003: make examples build even with broken Montavista objcopy * Patch by Pavel Bartusek, 27 Nov 2003: fix conversion problem with "bootretry" evironment variable
Diffstat (limited to 'board/fads/lamp.c')
-rw-r--r--board/fads/lamp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/fads/lamp.c b/board/fads/lamp.c
index b12147740e..4e58291c06 100644
--- a/board/fads/lamp.c
+++ b/board/fads/lamp.c
@@ -1,4 +1,7 @@
#include <config.h>
+
+#ifndef CONFIG_ADS /* Old ADS has not got any user-controllable LED */
+
#include <common.h>
void
@@ -40,3 +43,5 @@ fast_blink(unsigned int n)
signal_delay(0x00100000);
}
}
+
+#endif /* !CONFIG_ADS */
OpenPOWER on IntegriCloud