]> git.sur5r.net Git - u-boot/commitdiff
Fix baudrate setting for KGDB on MPC8260
authorWolfgang Denk <wd@pollux.denx.de>
Fri, 5 Aug 2005 23:21:19 +0000 (01:21 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Fri, 5 Aug 2005 23:21:19 +0000 (01:21 +0200)
Patch by HoJin, 11 Dec 2004

CHANGELOG
cpu/mpc8260/serial_smc.c

index 6c07db3939babc204d41281ea052cacf1df9000e..7b004c4f83fb1de707e537519b500aff84ef4eec 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Fix baudrate setting for KGDB on MPC8260
+  Patch by HoJin, 11 Dec 2004
+
 * Fix 'mii help' text formatting
   Patch by Cory Tusar, 10 Dec 2004
   
index 0873319339aef3dc538e14b8ff9cded9682376de..b486f8385e3cd38d0d1046f261556d78c8d024fd 100644 (file)
@@ -360,10 +360,10 @@ kgdb_serial_init (void)
        /* Set up the baud rate generator.
        */
 #if defined(CONFIG_KGDB_USE_EXTC)
-       m8260_cpm_extcbrg(KGDB_SMC_INDEX, speed,
+       m8260_cpm_extcbrg(brg_map[KGDB_SMC_INDEX], speed,
                CONFIG_KGDB_EXTC_RATE, CONFIG_KGDB_EXTC_PINSEL);
 #else
-       m8260_cpm_setbrg(KGDB_SMC_INDEX, speed);
+       m8260_cpm_setbrg(brg_map[KGDB_SMC_INDEX], speed);
 #endif
 
        /* Make the first buffer the only buffer.