diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:49:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:49:11 +0000 |
commit | d50ba03d7ae6b14699500477772b0a9c8b3f451b (patch) | |
tree | 398db465359a9e4e6d40d8fd3aa13adc141d0365 /c/src/lib/libbsp/arm/csb336/startup/bspstart.c | |
parent | 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-d50ba03d7ae6b14699500477772b0a9c8b3f451b.tar.bz2 |
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, console/uart.c, startup/bspclean.c,
startup/bspstart.c: Use standardized bsp_cleanup() which can
optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
* startup/bspreset.c: New file.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/csb336/startup/bspstart.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/arm/csb336/startup/bspstart.c b/c/src/lib/libbsp/arm/csb336/startup/bspstart.c index 41debe0b28..bb22eca0a0 100644 --- a/c/src/lib/libbsp/arm/csb336/startup/bspstart.c +++ b/c/src/lib/libbsp/arm/csb336/startup/bspstart.c @@ -126,18 +126,3 @@ int get_perclk1_freq(void) */ void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default"))); -/** - * Reset the system. - * - * This functions enables the watchdog and waits for it to - * fire, thus resetting the system. - */ -void bsp_reset(void) -{ - rtems_interrupt_level level; - - _CPU_ISR_Disable(level); - - printk("\n\rI should reset here.\n\r"); - while(1); -} |