Fix baudrate setting for KGDB on MPC8260

Patch by HoJin, 11 Dec 2004
This commit is contained in:
Wolfgang Denk 2005-08-06 01:21:19 +02:00
parent 5ad73a81aa
commit 5633796c09
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.