[rtems commit] bsp/gen83xx: Fix console driver configuration

Sebastian Huber sebh at rtems.org
Mon Apr 2 11:50:58 UTC 2012


Module:    rtems
Branch:    master
Commit:    c988f180c7d091567a19f854ab363f26809e3cc2
Changeset: http://git.rtems.org/rtems/commit/?id=c988f180c7d091567a19f854ab363f26809e3cc2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr  2 11:59:36 2012 +0200

bsp/gen83xx: Fix console driver configuration

---

 .../lib/libbsp/powerpc/gen83xx/startup/bspstart.c  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
index 3261617..92e2fb3 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
@@ -123,7 +123,7 @@ void bsp_start( void)
   bsp_clicks_per_usec = bsp_time_base_frequency / 1000000;
 
   /* Initialize some console parameters */
-  for (i = 0; i < Console_Port_Count; ++i) {
+  for (i = 0; i < Console_Configuration_Count; ++i) {
     Console_Configuration_Ports [i].ulClock = BSP_bus_frequency;
 
     #ifdef HAS_UBOOT




More information about the vc mailing list