Commit 713e919e authored by Christian Dietrich's avatar Christian Dietrich Committed by Greg Ungerer

arch/m68knommu: Removing dead 68328_SERIAL_UART2 config option

CONFIG_68328_SERIAL_UART2 doesn't exist in Kconfig, therefore removing
all references to it from the source.
Signed-off-by: default avatarChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 4a33fbcb
...@@ -90,11 +90,6 @@ static void init_hardware(char *command, int size) ...@@ -90,11 +90,6 @@ static void init_hardware(char *command, int size)
PDIQEG &= ~PD(1); PDIQEG &= ~PD(1);
PDIRQEN |= PD(1); /* IRQ enabled */ PDIRQEN |= PD(1); /* IRQ enabled */
#ifdef CONFIG_68328_SERIAL_UART2
/* Enable RXD TXD port bits to enable UART2 */
PJSEL &= ~(PJ(5) | PJ(4));
#endif
#ifdef CONFIG_INIT_LCD #ifdef CONFIG_INIT_LCD
/* initialize LCD controller */ /* initialize LCD controller */
LSSA = (long) screen_bits; LSSA = (long) screen_bits;
......
...@@ -181,13 +181,8 @@ struct m68k_serial { ...@@ -181,13 +181,8 @@ struct m68k_serial {
/* /*
* Define the number of ports supported and their irqs. * Define the number of ports supported and their irqs.
*/ */
#ifndef CONFIG_68328_SERIAL_UART2
#define NR_PORTS 1 #define NR_PORTS 1
#define UART_IRQ_DEFNS {UART_IRQ_NUM} #define UART_IRQ_DEFNS {UART_IRQ_NUM}
#else
#define NR_PORTS 2
#define UART_IRQ_DEFNS {UART1_IRQ_NUM, UART2_IRQ_NUM}
#endif
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* !(_MC683XX_SERIAL_H) */ #endif /* !(_MC683XX_SERIAL_H) */
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