Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] m68knommu: add ColdFire serial driver support for 523x processor family

Add support for the new Freescale 523x processor family to ColdFire
serial driver. Also set different default baud rate for MOD5272
board.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Greg Ungerer and committed by
Linus Torvalds
b0433b99 9c1ee938

+9 -4
+9 -4
drivers/serial/mcfserial.c
··· 63 63 #endif 64 64 65 65 #if defined(CONFIG_HW_FEITH) 66 - #define CONSOLE_BAUD_RATE 38400 67 - #define DEFAULT_CBAUD B38400 66 + #define CONSOLE_BAUD_RATE 38400 67 + #define DEFAULT_CBAUD B38400 68 + #endif 69 + 70 + #if defined(CONFIG_MOD5272) 71 + #define CONSOLE_BAUD_RATE 115200 72 + #define DEFAULT_CBAUD B115200 68 73 #endif 69 74 70 75 #ifndef CONSOLE_BAUD_RATE ··· 95 90 #undef SERIAL_DEBUG_OPEN 96 91 #undef SERIAL_DEBUG_FLOW 97 92 98 - #if defined(CONFIG_M527x) || defined(CONFIG_M528x) 93 + #if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) 99 94 #define IRQBASE (MCFINT_VECBASE+MCFINT_UART0) 100 95 #else 101 96 #define IRQBASE 73 ··· 1515 1510 *portp = (*portp & ~0x000000ff) | 0x00000055; 1516 1511 portp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_PDCNT); 1517 1512 *portp = (*portp & ~0x000003fc) | 0x000002a8; 1518 - #elif defined(CONFIG_M527x) || defined(CONFIG_M528x) 1513 + #elif defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) 1519 1514 volatile unsigned char *icrp, *uartp; 1520 1515 volatile unsigned long *imrp; 1521 1516