提交 8fb61e8d 编写于 作者: L Lokesh Vutla 提交者: Tony Lindgren

ARM: OMAP3EVM: Marking omap3_evm_display_init() with CONFIG_BROKEN

On 37xx EVM non-dt boot fails with current mainline,
because of broken GPIO numbering in the board file
that uses hardcoded GPIOs.

So marking omap3_evm_display_init() with CONFIG_BROKEN
for now as suggested by Tony as per the below link:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg90399.htmlSigned-off-by: NLokesh Vutla <lokeshvutla@ti.com>
Tested-by: NPaul Walmsley <paul@pwsan.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 863c9638
...@@ -174,6 +174,7 @@ static struct panel_sharp_ls037v7dw01_data omap3_evm_lcd_data = { ...@@ -174,6 +174,7 @@ static struct panel_sharp_ls037v7dw01_data omap3_evm_lcd_data = {
.ud_gpio = OMAP3EVM_LCD_PANEL_UD, .ud_gpio = OMAP3EVM_LCD_PANEL_UD,
}; };
#ifdef CONFIG_BROKEN
static void __init omap3_evm_display_init(void) static void __init omap3_evm_display_init(void)
{ {
int r; int r;
...@@ -193,6 +194,7 @@ static void __init omap3_evm_display_init(void) ...@@ -193,6 +194,7 @@ static void __init omap3_evm_display_init(void)
else else
gpio_set_value_cansleep(OMAP3EVM_LCD_PANEL_BKLIGHT_GPIO, 1); gpio_set_value_cansleep(OMAP3EVM_LCD_PANEL_BKLIGHT_GPIO, 1);
} }
#endif
static struct omap_dss_device omap3_evm_lcd_device = { static struct omap_dss_device omap3_evm_lcd_device = {
.name = "lcd", .name = "lcd",
...@@ -715,7 +717,9 @@ static void __init omap3_evm_init(void) ...@@ -715,7 +717,9 @@ static void __init omap3_evm_init(void)
omap_ads7846_init(1, OMAP3_EVM_TS_GPIO, 310, NULL); omap_ads7846_init(1, OMAP3_EVM_TS_GPIO, 310, NULL);
omap3evm_init_smsc911x(); omap3evm_init_smsc911x();
#ifdef CONFIG_BROKEN
omap3_evm_display_init(); omap3_evm_display_init();
#endif
omap3_evm_wl12xx_init(); omap3_evm_wl12xx_init();
omap_twl4030_audio_init("omap3evm", NULL); omap_twl4030_audio_init("omap3evm", NULL);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册