From 5e9d9a5a732c65ee5ae51055effad8b6e593770b Mon Sep 17 00:00:00 2001 From: Anthony Felice Date: Wed, 5 Mar 2014 13:06:50 -0500 Subject: pcl052: Fix eth0 not being recognized 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. --- arch/arm/mach-mvf/board-pcl052.c | 1 + arch/arm/plat-mxc/include/mach/mvf-dcu-fb.h | 6 ------ 2 files changed, 1 insertion(+), 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) -- cgit v1.2.3