From d462d3c4481011e906e99a68ef47283f685698de Mon Sep 17 00:00:00 2001 From: huang lin Date: Fri, 12 Dec 2014 10:24:31 +0800 Subject: veyron: Move backlight gpio control to mainboard.c We use the devicetree to pass the backlight control gpio before, but if there have different board version, and it uses different io to control backlight, it will hard to distinguish it. So, we move the backlight control to mainboard, and use board_id to distinguish the backlight control. BUG=None TEST=emerge veyron_pinky and Boot the pinky board BRANCH=None Change-Id: Ifa81eb2455296f4b4285b681208f4393f266fb34 Signed-off-by: Stefan Reinauer Original-Commit-Id: 2ff7f65134dcf97f97757750eab41dcf8c7765d3 Original-Change-Id: I1ec8e04f4982c3a8c7e31d8dc2c75311b7199ffc Original-Signed-off-by: huang lin Original-Reviewed-on: https://chromium-review.googlesource.com/234711 Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/9630 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/soc/rockchip/rk3288/include/soc/display.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/soc/rockchip/rk3288/include') 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 -- cgit v1.2.3