summaryrefslogtreecommitdiff
path: root/board/gen860t/gen860t.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-03 15:50:43 +0000
committerwdenk <wdenk>2003-05-03 15:50:43 +0000
commit7aa78614716b7bd7bdf68553f261ad0d5a12826a (patch)
tree756a98d1deac76f1cfba3d8da18c19e7183618c8 /board/gen860t/gen860t.c
parent4532cb696eb717419022dbaa8d408e7df7df7b68 (diff)
downloadu-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.zip
u-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.tar.gz
u-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.tar.bz2
* Add support for Promess ATC board
* Patch by Keith Outwater, 28 Apr 2003: - Miscellaneous corrections and additions to GEN860T board specific code. - Added GEN860_SC variant to GEN860T. - Miscellaneous corrections to GEN860T documentation. - Correct duplicate entry in U-Boot CREDITS file. - Add GEN860T_SC entry in MAINTAINERS file. - Update CREDITS file with GEN860T_SC info. * Update Smiths Aerospace addresses in MAINTAINERS file * Fix error handling in hush's version of "run" command
Diffstat (limited to 'board/gen860t/gen860t.c')
-rw-r--r--board/gen860t/gen860t.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/board/gen860t/gen860t.c b/board/gen860t/gen860t.c
index 16a3262..094eeef 100644
--- a/board/gen860t/gen860t.c
+++ b/board/gen860t/gen860t.c
@@ -271,18 +271,12 @@ misc_init_r (void)
int
last_stage_init(void)
{
+#if !defined(CONFIG_SC)
unsigned char buf[256];
int i;
/*
- * Set LEDs here since status LED init code has already run
- */
- status_led_set(STATUS_LED_BIT1, STATUS_LED_ON);
- status_led_set(STATUS_LED_BIT3, STATUS_LED_ON);
-
- /*
- * Turn the beeper volume all the way down in case this is a warm
- * boot.
+ * Turn the beeper volume all the way down in case this is a warm boot.
*/
set_beeper_volume(-64);
init_beeper();
@@ -294,6 +288,18 @@ last_stage_init(void)
if (i > 0) {
do_beeper(buf);
}
+#endif
return 0;
}
+
+/*
+ * Stub to make POST code happy. Can't self-poweroff, so just hang.
+ */
+void
+board_poweroff(void)
+{
+ puts("### Please power off the board ###\n");
+ while (1);
+}
+
/* vim: set ts=4 sw=4 tw=78 : */