diff options
Diffstat (limited to 'src/soc/rockchip')
-rw-r--r-- | src/soc/rockchip/rk3288/display.c | 5 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/include/soc/display.h | 6 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c index a8ba31a129..68b4b8f4cd 100644 --- a/src/soc/rockchip/rk3288/display.c +++ b/src/soc/rockchip/rk3288/display.c @@ -82,8 +82,5 @@ void rk_display_init(device_t dev, u32 lcdbase, } set_vbe_mode_info_valid(&edid, (uintptr_t)lcdbase); - gpio_output(conf->lcd_bl_pwm_gpio, 0); - gpio_output(conf->lcd_bl_en_gpio, 1); /* LCD_BL */ - udelay(conf->bl_power_on_udelay); - gpio_output(conf->lcd_bl_pwm_gpio, 1); /* BL_EN */ + mainboard_power_on_backlight(); } diff --git a/src/soc/rockchip/rk3288/include/soc/display.h b/src/soc/rockchip/rk3288/include/soc/display.h index 8353c8a1b3..b0b5e64d5e 100644 --- a/src/soc/rockchip/rk3288/include/soc/display.h +++ b/src/soc/rockchip/rk3288/include/soc/display.h @@ -23,8 +23,6 @@ void rk_display_init(device_t dev, u32 lcdbase, unsigned long fb_size); -#endif - - - +void mainboard_power_on_backlight(void); +#endif |