summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:15 +0000
commit87b9739e9881148ee2fc1a9a852f09b18aaef11d (patch)
tree61f8b1fbfb9ae81c635a19d19fdfe86835d69f78 /c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
parent2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-87b9739e9881148ee2fc1a9a852f09b18aaef11d.tar.bz2
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, console/console.c, include/bsp.h, 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. * startup/bspclean.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
index d81133229d..d1df3ef0e1 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
@@ -156,7 +156,7 @@ void bsp_start(void)
cpu_init();
- bsp_clicks_per_usec = (IPB_CLOCK/1000000);
+ bsp_clicks_per_usec = (IPB_CLOCK/1000000);
/*
* Enable instruction and data caches. Do not force writethrough mode.
@@ -192,7 +192,6 @@ void bsp_start(void)
#ifdef SHOW_MORE_INIT_SETTINGS
printk("Exit from bspstart\n");
#endif
-
}
/*
@@ -213,4 +212,3 @@ Thread _Thread_Idle_body(uint32_t ignored)
}
return 0;
}
-