Commit 5633796c authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix baudrate setting for KGDB on MPC8260

Patch by HoJin, 11 Dec 2004
parent 5ad73a81
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.3: 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 * Fix 'mii help' text formatting
Patch by Cory Tusar, 10 Dec 2004 Patch by Cory Tusar, 10 Dec 2004
......
...@@ -360,10 +360,10 @@ kgdb_serial_init (void) ...@@ -360,10 +360,10 @@ kgdb_serial_init (void)
/* Set up the baud rate generator. /* Set up the baud rate generator.
*/ */
#if defined(CONFIG_KGDB_USE_EXTC) #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); CONFIG_KGDB_EXTC_RATE, CONFIG_KGDB_EXTC_PINSEL);
#else #else
m8260_cpm_setbrg(KGDB_SMC_INDEX, speed); m8260_cpm_setbrg(brg_map[KGDB_SMC_INDEX], speed);
#endif #endif
/* Make the first buffer the only buffer. /* Make the first buffer the only buffer.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment