summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-21 14:27:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-21 14:27:52 +0000
commit8b9128277d4992c413a86b8ed1b519e83aab4b3b (patch)
treecbf4d82e16d951f0bfd66111f41ec29793f7e61d /c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
parentModifications to avoid having the size of the Buffer_addresses array (diff)
downloadrtems-8b9128277d4992c413a86b8ed1b519e83aab4b3b.tar.bz2
Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from John Mills <jmills@tga.com>.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspstart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
index abf97c3a86..5761d68219 100644
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
@@ -91,7 +91,11 @@ void bsp_start(void)
Depending on the board this can ether be done from inside the rom
startup code, rtems startup code or here.
*/
+
+#ifndef START_HW_INIT
+ /* board hardware setup here, or from 'start.S' */
hw_initialize();
+#endif
/*
* Allocate the memory for the RTEMS Work Space. This can come from