[U-Boot] [PATCH 1/5] sunxi: display: Remove unused HDMI register addr defines

Hans de Goede hdegoede at redhat.com
Mon Nov 24 17:14:15 CET 2014


All hdmi code uses struct sunxi_hdmi_reg, so these are not needed.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 arch/arm/include/asm/arch-sunxi/display.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/arch/arm/include/asm/arch-sunxi/display.h b/arch/arm/include/asm/arch-sunxi/display.h
index c17c3c3..ddb71c1 100644
--- a/arch/arm/include/asm/arch-sunxi/display.h
+++ b/arch/arm/include/asm/arch-sunxi/display.h
@@ -91,19 +91,6 @@ struct sunxi_lcdc_reg {
 	u32 tcon1_io_tristate;		/* 0xf4 */
 };
 
-#define SUNXI_HDMI_CTRL			0x004
-#define SUNXI_HDMI_INT_CTRL		0x008
-#define SUNXI_HDMI_HPD			0x00c
-#define SUNXI_HDMI_VIDEO_CTRL		0x010
-#define SUNXI_HDMI_VIDEO_SIZE		0x014
-#define SUNXI_HDMI_VIDEO_BP		0x018
-#define SUNXI_HDMI_VIDEO_FP		0x01c
-#define SUNXI_HDMI_VIDEO_SPW		0x020
-#define SUNXI_HDMI_VIDEO_POLARITY	0x024
-#define SUNXI_HDMI_TX_DRIVER0		0x200
-#define SUNXI_HDMI_TX_DRIVER1		0x204
-#define SUNXI_HDMI_TX_DRIVER2		0x208
-#define SUNXI_HDMI_TX_DRIVER3		0x20C
 struct sunxi_hdmi_reg {
 	u32 version_id;			/* 0x000 */
 	u32 ctrl;			/* 0x004 */
-- 
2.1.0



More information about the U-Boot mailing list