summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Felice <tony.felice@timesys.com>2014-03-05 13:06:50 -0500
committerAnthony Felice <tony.felice@timesys.com>2014-03-05 13:11:31 -0500
commit5e9d9a5a732c65ee5ae51055effad8b6e593770b (patch)
tree5eeae445a7757212c7d3dfb38b844190311150db
parent655f7949b5fd0b66bde03fc3c63c7a436353b1e1 (diff)
pcl052: Fix eth0 not being recognized3.0-pcl052-ts1.4
This patch fixes eth0 with the pcl052 platform. It appears to be a vague init issue, as the actual code change relates to the way a DCU pin is enabled.
-rw-r--r--arch/arm/mach-mvf/board-pcl052.c1
-rw-r--r--arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h6
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-mvf/board-pcl052.c b/arch/arm/mach-mvf/board-pcl052.c
index 52d53443bf6a..cb03cb790c2e 100644
--- a/arch/arm/mach-mvf/board-pcl052.c
+++ b/arch/arm/mach-mvf/board-pcl052.c
@@ -321,6 +321,7 @@ static struct mvf_dcu_platform_data mvf_dcu_pdata = {
.mode_str = "640x480p_hdmipc",
// .mode_str = "720x480p",
.default_bpp = 24,
+ .enable_pin = 108,
};
static void __init fixup_mxc_board(struct machine_desc *desc, struct tag *tags,
diff --git a/arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h b/arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h
index 1aba4dc8d73e..d4364f1bdd8b 100644
--- a/arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h
+++ b/arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h
@@ -35,12 +35,6 @@ struct dfb_chroma_key {
__u8 blue_min;
};
-#if (defined CONFIG_MACH_PCL052)
-#define DCU_LCD_ENABLE_PIN 108
-#else
-#define DCU_LCD_ENABLE_PIN 25
-#endif
-
#define MFB_SET_CHROMA_KEY _IOW('M', 1, struct mfb_chroma_key)
#define MFB_SET_BRIGHTNESS _IOW('M', 3, __u8)