Commit e45e7d5b authored by Marc Singer's avatar Marc Singer Committed by Russell King

[ARM PATCH] 2213/1: lh7a40x serial.h cleanup

Patch from Marc Singer

As requested, this patch removes the
include/asm-arm/arch-lh7a40x/serial.h header.
parent 6e9d1722
...@@ -45,8 +45,6 @@ ...@@ -45,8 +45,6 @@
#include <linux/serial_core.h> #include <linux/serial_core.h>
#include <asm/arch/serial.h>
#define DEV_MAJOR 204 #define DEV_MAJOR 204
#define DEV_MINOR 16 #define DEV_MINOR 16
#define DEV_NR 3 #define DEV_NR 3
...@@ -60,6 +58,15 @@ ...@@ -60,6 +58,15 @@
#define UART_REG_SIZE 32 #define UART_REG_SIZE 32
#define UART_R_DATA (0x00)
#define UART_R_FCON (0x04)
#define UART_R_BRCON (0x08)
#define UART_R_CON (0x0c)
#define UART_R_STATUS (0x10)
#define UART_R_RAWISR (0x14)
#define UART_R_INTEN (0x18)
#define UART_R_ISR (0x1c)
#define UARTEN (0x01) /* UART enable */ #define UARTEN (0x01) /* UART enable */
#define SIRDIS (0x02) /* Serial IR disable (UART1 only) */ #define SIRDIS (0x02) /* Serial IR disable (UART1 only) */
......
/* include/asm-arm/arch-lh7a40x/serial.h
*
* Copyright (C) 2004 Coastal Environmental Systems
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*/
#ifndef __ASM_ARCH_SERIAL_H
#define __ASM_ARCH_SERIAL_H
#include <asm/arch/registers.h>
#define UART_R_DATA (0x00)
#define UART_R_FCON (0x04)
#define UART_R_BRCON (0x08)
#define UART_R_CON (0x0c)
#define UART_R_STATUS (0x10)
#define UART_R_RAWISR (0x14)
#define UART_R_INTEN (0x18)
#define UART_R_ISR (0x1c)
#endif /* _ASM_ARCH_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