From a26a5df28d91c9ecbaccc2197e6f36c4da506785 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 23 Apr 2010 12:30:34 +0800 Subject: [PATCH] remove useless serial.h file Signed-off-by: Xiangfu Liu --- .../mips/include/asm/mach-jz4740/jz4740.h | 18 ++++------- .../mips/include/asm/mach-jz4740/serial.h | 30 ------------------- .../files-2.6.32/arch/mips/jz4740/setup.c | 1 - 3 files changed, 5 insertions(+), 44 deletions(-) delete mode 100644 target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/serial.h diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h index 9885db243..5a8c6aa38 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h @@ -1,11 +1,9 @@ /* - * linux/include/asm-mips/mach-jz4740/jz4740.h + * arch/mips/include/asm/mach-jz4740/jz4740.h + * JZ4740 common definition. * - * JZ4740 common definition. - * - * Copyright (C) 2006 - 2007 Ingenic Semiconductor Inc. - * - * Author: + * Copyright (C) 2006 - 2007 Ingenic Semiconductor Inc. + * Author: * * 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 @@ -18,7 +16,7 @@ #include #include -/*------------------------------------------------------------------ +/* * Platform definitions */ @@ -26,10 +24,4 @@ #include #endif -/*------------------------------------------------------------------ - * Follows are related to platform definitions - */ - -#include - #endif /* __ASM_JZ4740_H__ */ diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/serial.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/serial.h deleted file mode 100644 index c4819b982..000000000 --- a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/serial.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * linux/include/asm-mips/mach-jz4740/serial.h - * - * Ingenic's JZ4740 common include. - * - * Copyright (C) 2006 - 2007 Ingenic Semiconductor Inc. - * - * Author: - * - * 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_BOARD_SERIAL_H__ -#define __ASM_BOARD_SERIAL_H__ - -#ifndef CONFIG_SERIAL_MANY_PORTS -#undef RS_TABLE_SIZE -#define RS_TABLE_SIZE 1 -#endif - -#define JZ_BASE_BAUD (12000000/16) - -#define JZ_SERIAL_PORT_DEFNS \ - { .baud_base = JZ_BASE_BAUD, .irq = IRQ_UART0, \ - .flags = STD_COM_FLAGS, .iomem_base = (u8 *)UART0_BASE, \ - .iomem_reg_shift = 2, .io_type = SERIAL_IO_MEM }, - -#endif /* __ASM_BORAD_SERIAL_H__ */ diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c index f475ff6dd..bfb8c0f2b 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/setup.c @@ -39,7 +39,6 @@ #include #include #include -#include #include "clock.h"