summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ss555
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-28 21:44:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-28 21:44:46 +0000
commit07e9642ce0a7a9123dbcd476d2761e7b0f241f38 (patch)
tree85ac803ec0fd5230128da7675d702f70c95757a6 /c/src/lib/libbsp/powerpc/ss555
parent2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-07e9642ce0a7a9123dbcd476d2761e7b0f241f38.tar.bz2
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ss555')
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c12
2 files changed, 15 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/ss555/ChangeLog b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
index b84f6be0ca..26f6a9c456 100644
--- a/c/src/lib/libbsp/powerpc/ss555/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ss555/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
+ Table. They have been replaced with variables named bsp_XXX as
+ needed.
+
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
index 371fc4831d..a45f7716f0 100644
--- a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
@@ -5,7 +5,7 @@
* The generic CPU dependent initialization has been performed
* before this routine is invoked.
*
- * COPYRIGHT (c) 1989-1998.
+ * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -54,6 +54,12 @@ rtems_cpu_table Cpu_table;
char *rtems_progname;
/*
+ * Driver configuration parameters
+ */
+uint32_t bsp_clicks_per_usec;
+uint32_t bsp_clock_speed; /* Serial clocks per second */
+
+/*
* Use the shared implementations of the following routines.
* Look in rtems/c/src/lib/libbsp/shared/bsppost.c and
* rtems/c/src/lib/libbsp/shared/bsplibc.c.
@@ -186,8 +192,8 @@ void bsp_start(void)
if( Cpu_table.interrupt_stack_size < 4 * 1024 )
Cpu_table.interrupt_stack_size = 4 * 1024;
- Cpu_table.clicks_per_usec = BSP_CRYSTAL_HZ / 4 / 1000000;
- Cpu_table.clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */
+ bsp_clicks_per_usec = BSP_CRYSTAL_HZ / 4 / 1000000;
+ bsp_clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */
/*
* Call this in case we use TERMIOS for console I/O