[PATCH 16/16] remove unused include files

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 9 04:03:41 EST 2009


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/dm9161.h     |  130 --------------------------------------------------
 include/s1d13706fb.h |  119 ---------------------------------------------
 include/splash.h     |   42 ----------------
 3 files changed, 0 insertions(+), 291 deletions(-)
 delete mode 100644 include/dm9161.h
 delete mode 100644 include/s1d13706fb.h
 delete mode 100644 include/splash.h

diff --git a/include/dm9161.h b/include/dm9161.h
deleted file mode 100644
index f5bfb19..0000000
--- a/include/dm9161.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * NOTE:	DAVICOM ethernet Physical layer
- *
- * Version:	@(#)DM9161.h	1.0.0	01/10/2001
- *
- * Authors:	ATMEL Rousset
- *
- *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- */
-
-
-/* DAVICOM PHYSICAL LAYER TRANSCEIVER DM9161 */
-
-#define	DM9161_BMCR 		0	/* Basic Mode Control Register */
-#define DM9161_BMSR		1	/* Basic Mode Status Register */
-#define DM9161_PHYID1		2	/* PHY Idendifier Register 1 */
-#define DM9161_PHYID2		3	/* PHY Idendifier Register 2 */
-#define DM9161_ANAR		4	/* Auto_Negotiation Advertisement Register  */
-#define DM9161_ANLPAR		5	/* Auto_negotiation Link Partner Ability Register */
-#define DM9161_ANER		6	/* Auto-negotiation Expansion Register  */
-#define DM9161_DSCR		16	/* Specified Configuration Register */
-#define DM9161_DSCSR		17	/* Specified Configuration and Status Register */
-#define DM9161_10BTCSR		18	/* 10BASE-T Configuration and Satus Register */
-#define DM9161_MDINTR		21	/* Specified Interrupt Register */
-#define DM9161_RECR		22	/* Specified Receive Error Counter Register */
-#define DM9161_DISCR		23	/* Specified Disconnect Counter Register */
-#define DM9161_RLSR		24	/* Hardware Reset Latch State Register */
-
-
-/* --Bit definitions: DM9161_BMCR */
-#define DM9161_RESET   	         (1 << 15)	/* 1= Software Reset; 0=Normal Operation */
-#define DM9161_LOOPBACK	         (1 << 14)	/* 1=loopback Enabled; 0=Normal Operation */
-#define DM9161_SPEED_SELECT      (1 << 13)	/* 1=100Mbps; 0=10Mbps */
-#define DM9161_AUTONEG	         (1 << 12)
-#define DM9161_POWER_DOWN        (1 << 11)
-#define DM9161_ISOLATE           (1 << 10)
-#define DM9161_RESTART_AUTONEG   (1 << 9)
-#define DM9161_DUPLEX_MODE       (1 << 8)
-#define DM9161_COLLISION_TEST    (1 << 7)
-
-/*--Bit definitions: DM9161_BMSR */
-#define DM9161_100BASE_T4        (1 << 15)
-#define DM9161_100BASE_TX_FD     (1 << 14)
-#define DM9161_100BASE_T4_HD     (1 << 13)
-#define DM9161_10BASE_T_FD       (1 << 12)
-#define DM9161_10BASE_T_HD       (1 << 11)
-#define DM9161_MF_PREAMB_SUPPR   (1 << 6)
-#define DM9161_AUTONEG_COMP      (1 << 5)
-#define DM9161_REMOTE_FAULT      (1 << 4)
-#define DM9161_AUTONEG_ABILITY   (1 << 3)
-#define DM9161_LINK_STATUS       (1 << 2)
-#define DM9161_JABBER_DETECT     (1 << 1)
-#define DM9161_EXTEND_CAPAB      (1 << 0)
-
-/*--definitions: DM9161_PHYID1 */
-#define DM9161_PHYID1_OUI	 0x606E
-#define DM9161_LSB_MASK	         0x3F
-
-/*--Bit definitions: DM9161_ANAR, DM9161_ANLPAR */
-#define DM9161_NP               (1 << 15)
-#define DM9161_ACK              (1 << 14)
-#define DM9161_RF               (1 << 13)
-#define DM9161_FCS              (1 << 10)
-#define DM9161_T4               (1 << 9)
-#define DM9161_TX_FDX           (1 << 8)
-#define DM9161_TX_HDX           (1 << 7)
-#define DM9161_10_FDX           (1 << 6)
-#define DM9161_10_HDX           (1 << 5)
-#define DM9161_AN_IEEE_802_3	0x0001
-
-/*--Bit definitions: DM9161_ANER */
-#define DM9161_PDF              (1 << 4)
-#define DM9161_LP_NP_ABLE       (1 << 3)
-#define DM9161_NP_ABLE          (1 << 2)
-#define DM9161_PAGE_RX          (1 << 1)
-#define DM9161_LP_AN_ABLE       (1 << 0)
-
-/*--Bit definitions: DM9161_DSCR */
-#define DM9161_BP4B5B           (1 << 15)
-#define DM9161_BP_SCR           (1 << 14)
-#define DM9161_BP_ALIGN         (1 << 13)
-#define DM9161_BP_ADPOK         (1 << 12)
-#define DM9161_REPEATER         (1 << 11)
-#define DM9161_TX               (1 << 10)
-#define DM9161_RMII_ENABLE      (1 << 8)
-#define DM9161_F_LINK_100       (1 << 7)
-#define DM9161_SPLED_CTL        (1 << 6)
-#define DM9161_COLLED_CTL       (1 << 5)
-#define DM9161_RPDCTR_EN        (1 << 4)
-#define DM9161_SM_RST           (1 << 3)
-#define DM9161_MFP SC           (1 << 2)
-#define DM9161_SLEEP            (1 << 1)
-#define DM9161_RLOUT            (1 << 0)
-
-/*--Bit definitions: DM9161_DSCSR */
-#define DM9161_100FDX           (1 << 15)
-#define DM9161_100HDX           (1 << 14)
-#define DM9161_10FDX            (1 << 13)
-#define DM9161_10HDX            (1 << 12)
-
-/*--Bit definitions: DM9161_10BTCSR */
-#define DM9161_LP_EN           (1 << 14)
-#define DM9161_HBE             (1 << 13)
-#define DM9161_SQUELCH         (1 << 12)
-#define DM9161_JABEN           (1 << 11)
-#define DM9161_10BT_SER        (1 << 10)
-#define DM9161_POLR            (1 << 0)
-
-
-/*--Bit definitions: DM9161_MDINTR */
-#define DM9161_INTR_PEND       (1 << 15)
-#define DM9161_FDX_MASK        (1 << 11)
-#define DM9161_SPD_MASK        (1 << 10)
-#define DM9161_LINK_MASK       (1 << 9)
-#define DM9161_INTR_MASK       (1 << 8)
-#define DM9161_FDX_CHANGE      (1 << 4)
-#define DM9161_SPD_CHANGE      (1 << 3)
-#define DM9161_LINK_CHANGE     (1 << 2)
-#define DM9161_INTR_STATUS     (1 << 0)
-
-
-/******************  function prototypes **********************/
-unsigned int  dm9161_IsPhyConnected(AT91PS_EMAC p_mac);
-unsigned char dm9161_GetLinkSpeed(AT91PS_EMAC p_mac);
-unsigned char dm9161_AutoNegotiate(AT91PS_EMAC p_mac, int *status);
-unsigned char dm9161_InitPhy(AT91PS_EMAC p_mac);
diff --git a/include/s1d13706fb.h b/include/s1d13706fb.h
deleted file mode 100644
index 43fc248..0000000
--- a/include/s1d13706fb.h
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * (C) Copyright 2007 Pengutronix
- * Sascha Hauer, <s.hauer at pengutronix.de>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-struct efb_info;
-
-struct fb_data *s1d13706fb_init(struct efb_info *info);
-
-/*
- * This structure describes the machine which we are running on.
- */
-struct efb_info {
-	struct fb_data	fbd;
-
-	void		*regs;
-
-	u_long		pixclock;
-
-	u_char		hsync_len;
-	u_char		left_margin;
-	u_char		right_margin;
-
-	u_char		vsync_len;
-	u_char		upper_margin;
-	u_char		lower_margin;
-	u_char		sync;
-
-	u_int		cmap_greyscale:1,
-			unused:31;
-
-	u_char		panel_type;
-
-	int  (*init)(struct efb_info *);
-};
-
-#define EFB_RC		0x0
-
-#define EFB_PCLK_CONF	0x05
-#define PCLK_SOURCE_MCLK	0
-#define PCLK_SOURCE_BCLK	1
-#define PCLK_SOURCE_CLKI	2
-#define PCLK_SOURCE_CLKI2	3
-
-#define EFB_LUT_B_WRITE		0x08
-#define EFB_LUT_G_WRITE		0x09
-#define EFB_LUT_R_WRITE		0x0a
-#define EFB_LUT_ADR_WRITE	0x0b
-
-#define EFB_PANEL_TYPE		0x10
-#define PANEL_TYPE_STN		0
-#define PANEL_TYPE_TFT		1
-#define PANEL_TYPE_HR_TFT	2
-#define PANEL_TYPE_D_TFD	3
-#define PANEL_TYPE_WIDTH_4	(0 << 4)
-#define PANEL_TYPE_WIDTH_8	(1 << 4)
-#define PANEL_TYPE_WIDTH_9	(0 << 4)
-#define PANEL_TYPE_WIDTH_12	(1 << 4)
-#define PANEL_TYPE_WIDTH_16	(2 << 4)
-#define PANEL_TYPE_WIDTH_18	(2 << 4)
-#define PANEL_TYPE_COLOR	(1 << 6)
-#define PANEL_TYPE_FORMAT_2	(1 << 7)
-
-#define EFB_HT			0x12
-#define EFB_HDP			0x14
-#define EFB_HDSP0		0x16
-#define EFB_HDSP1		0x17
-#define EFB_VT0			0x18
-#define EFB_VT1			0x19
-#define EFB_VDP0		0x1c
-#define EFB_VDP1		0x1d
-#define EFB_VDSP0		0x1e
-#define EFB_VDSP1		0x1f
-#define EFB_FPLINE_PULSE_WIDTH	0x20
-#define FPLINE_ACT_HIGH	(1 << 7)
-#define EFB_FPLINE_PULSE_START0	0x22
-#define EFB_FPLINE_PULSE_START1	0x23
-#define EFB_FPFRAME_PULSE_WIDTH	0x24
-#define FPFRAME_ACT_HIGH	(1 << 7)
-
-#define EFB_DISPLAY_MODE		0x70
-#define DISPLAY_MODE_BPP_1		0
-#define DISPLAY_MODE_BPP_2		1
-#define DISPLAY_MODE_BPP_4		2
-#define DISPLAY_MODE_BPP_8		3
-#define DISPLAY_MODE_BPP_16		4
-
-#define EFB_DISPLAY_START_ADDRESS0	0x74
-#define EFB_DISPLAY_START_ADDRESS1	0x75
-#define EFB_DISPLAY_START_ADDRESS2	0x76
-
-#define EFB_LINE_ADDRESS_OFFSET0	0x78
-#define EFB_LINE_ADDRESS_OFFSET1	0x79
-
-#define EFB_POWER_SAVE_CONF		0xa0
-
-#define EFB_GPIO_CONTROL0		0xac
-#define EFB_GPIO_CONTROL1		0xad
-#define GPIO_CONTROL0_GPO		(1 << 7)
-
-
diff --git a/include/splash.h b/include/splash.h
deleted file mode 100644
index a9b8287..0000000
--- a/include/splash.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * (C) Copyright 2007 Pengutronix
- * Sascha Hauer, <s.hauer at pengutronix.de>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-#ifndef SPLASH_H
-#define SPLASH_H
-
-#define FB_SYNC_HOR_HIGH_ACT	1	/* horizontal sync high active	*/
-#define FB_SYNC_VERT_HIGH_ACT	2	/* vertical sync high active	*/
-
-struct fb_data {
-	int xres, yres;
-	int bpp;
-	void *fb;
-	void *priv;
-
-	int (*setcolreg)(struct fb_data *fbd, int reg, int r, int g, int b);
-};
-
-int splash_set_fb_data(struct fb_data *d);
-
-#endif /* SPLASH_H */
-
-- 
1.6.5.2





More information about the u-boot-v2 mailing list