diff options
author | Kumar Gala <galak@freescale.com> | 2005-05-28 18:52:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-28 19:46:15 -0400 |
commit | 252fcaed48fc5473b3fc3cafbf977244b0cbf670 (patch) | |
tree | 96b8ceffe0e227343eb40aa594695aeb2ce3abf4 /arch/ppc/platforms/85xx/mpc85xx_cds_common.c | |
parent | 94b9f46d61904422c498bf4cf9a90cc14398d311 (diff) |
[PATCH] ppc32: Fix some minor issues related to FSL Book-E KGDB support
Some debug registers needed to be initialized early on to allow proper
support for KGDB. Additionally, we need to setup the
ppc.md_early_serial_map function pointer on boards that have serial support
for KGDB.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/platforms/85xx/mpc85xx_cds_common.c')
-rw-r--r-- | arch/ppc/platforms/85xx/mpc85xx_cds_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/platforms/85xx/mpc85xx_cds_common.c b/arch/ppc/platforms/85xx/mpc85xx_cds_common.c index 6c020d67ad7..11fb758d269 100644 --- a/arch/ppc/platforms/85xx/mpc85xx_cds_common.c +++ b/arch/ppc/platforms/85xx/mpc85xx_cds_common.c | |||
@@ -459,6 +459,9 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
459 | #if defined(CONFIG_SERIAL_8250) && defined(CONFIG_SERIAL_TEXT_DEBUG) | 459 | #if defined(CONFIG_SERIAL_8250) && defined(CONFIG_SERIAL_TEXT_DEBUG) |
460 | ppc_md.progress = gen550_progress; | 460 | ppc_md.progress = gen550_progress; |
461 | #endif /* CONFIG_SERIAL_8250 && CONFIG_SERIAL_TEXT_DEBUG */ | 461 | #endif /* CONFIG_SERIAL_8250 && CONFIG_SERIAL_TEXT_DEBUG */ |
462 | #if defined(CONFIG_SERIAL_8250) && defined(CONFIG_KGDB) | ||
463 | ppc_md.early_serial_map = mpc85xx_early_serial_map; | ||
464 | #endif /* CONFIG_SERIAL_8250 && CONFIG_KGDB */ | ||
462 | 465 | ||
463 | if (ppc_md.progress) | 466 | if (ppc_md.progress) |
464 | ppc_md.progress("mpc85xx_cds_init(): exit", 0); | 467 | ppc_md.progress("mpc85xx_cds_init(): exit", 0); |