mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
remove useless serial.h file
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
@@ -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: <lhhuang@ingenic.cn>
|
||||||
* Copyright (C) 2006 - 2007 Ingenic Semiconductor Inc.
|
|
||||||
*
|
|
||||||
* Author: <lhhuang@ingenic.cn>
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -18,7 +16,7 @@
|
|||||||
#include <asm/mach-jz4740/regs.h>
|
#include <asm/mach-jz4740/regs.h>
|
||||||
#include <asm/mach-jz4740/dma.h>
|
#include <asm/mach-jz4740/dma.h>
|
||||||
|
|
||||||
/*------------------------------------------------------------------
|
/*
|
||||||
* Platform definitions
|
* Platform definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -26,10 +24,4 @@
|
|||||||
#include <asm/mach-jz4740/board-qi_lb60.h>
|
#include <asm/mach-jz4740/board-qi_lb60.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*------------------------------------------------------------------
|
|
||||||
* Follows are related to platform definitions
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <asm/mach-jz4740/serial.h>
|
|
||||||
|
|
||||||
#endif /* __ASM_JZ4740_H__ */
|
#endif /* __ASM_JZ4740_H__ */
|
||||||
|
|||||||
@@ -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: <yliu@ingenic.cn>
|
|
||||||
*
|
|
||||||
* 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__ */
|
|
||||||
@@ -39,7 +39,6 @@
|
|||||||
#include <asm/mach-jz4740/jz4740.h>
|
#include <asm/mach-jz4740/jz4740.h>
|
||||||
#include <asm/mach-jz4740/regs.h>
|
#include <asm/mach-jz4740/regs.h>
|
||||||
#include <asm/mach-jz4740/clock.h>
|
#include <asm/mach-jz4740/clock.h>
|
||||||
#include <asm/mach-jz4740/serial.h>
|
|
||||||
|
|
||||||
#include "clock.h"
|
#include "clock.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user