diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:11:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:11:10 +0000 |
commit | 81f160023d4aa1f3d3b5cb159a6cbf0b323f47b6 (patch) | |
tree | 4a7b75fe1433a9eabd58657604ccdb974043e4d1 /c/src/lib/libbsp/arm/csb336 | |
parent | 2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-81f160023d4aa1f3d3b5cb159a6cbf0b323f47b6.tar.bz2 |
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspclean.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/arm/csb336')
-rw-r--r-- | c/src/lib/libbsp/arm/csb336/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/arm/csb336/startup/bspclean.c | 36 |
2 files changed, 4 insertions, 36 deletions
diff --git a/c/src/lib/libbsp/arm/csb336/ChangeLog b/c/src/lib/libbsp/arm/csb336/ChangeLog index c68958396c..31343e5f60 100644 --- a/c/src/lib/libbsp/arm/csb336/ChangeLog +++ b/c/src/lib/libbsp/arm/csb336/ChangeLog @@ -1,3 +1,7 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * startup/bspclean.c: Removed. + 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> * Makefile.am, configure.ac, console/uart.c, startup/bspclean.c, diff --git a/c/src/lib/libbsp/arm/csb336/startup/bspclean.c b/c/src/lib/libbsp/arm/csb336/startup/bspclean.c deleted file mode 100644 index c316950aa4..0000000000 --- a/c/src/lib/libbsp/arm/csb336/startup/bspclean.c +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Cogent CSB336 Shutdown code - * - * Copyright (c) 2004 by Cogent Computer Systems - * Written by Jay Monkman <jtm@lopingdog.com> - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <stdio.h> -#include <bsp.h> -#include <rtems/bspIo.h> -#include <rtems/libio.h> - -int uart_poll_read(int); -void bsp_reset(void); - -void bsp_cleanup(void) -{ - static char line[]="\nEXECUTIVE SHUTDOWN! Any key to reboot..."; - /* - * AT this point, the console driver is disconnected => we must - * use polled output/input. This is exactly what printk - * does. - */ - printk("\n"); - printk(line); - while (BSP_poll_char() < 0) continue; - - bsp_reset(); - -} |