diff options
author | Yung-Ching LIN <yungching0725@gmail.com> | 2017-03-29 01:51:22 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-04-12 18:04:33 +0200 |
commit | f6f7e73d4503f84723f699cd63ac18397db36858 (patch) | |
tree | b840717d022ae2984dd96c84f5113e5840495c29 /board | |
parent | fbe62a67579bc002d7526942cdd7ffabff430cd2 (diff) | |
download | u-boot-f6f7e73d4503f84723f699cd63ac18397db36858.zip u-boot-f6f7e73d4503f84723f699cd63ac18397db36858.tar.gz u-boot-f6f7e73d4503f84723f699cd63ac18397db36858.tar.bz2 |
board: advantech: dms-ba16: Add the configuration options for display initialization
Add the configuration options for display initialization in case we need to
do the display initialization in kernel to support different timing settings
Signed-off-by: Ken Lin <yungching0725@gmail.com>
Acked-by: Akshay Bhat <akshay.bhat@timesys.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/advantech/dms-ba16/dms-ba16.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c index 20750fb..a67752f 100644 --- a/board/advantech/dms-ba16/dms-ba16.c +++ b/board/advantech/dms-ba16/dms-ba16.c @@ -539,6 +539,8 @@ int board_late_init(void) #ifdef CONFIG_CMD_BMODE add_board_boot_modes(board_boot_modes); #endif + +#if defined(CONFIG_VIDEO_IPUV3) /* * We need at least 200ms between power on and backlight on * as per specifications from CHI MEI @@ -555,6 +557,7 @@ int board_late_init(void) gpio_direction_output(LVDS_BACKLIGHT_GP, 1); pwm_enable(0); +#endif #ifdef CONFIG_CMD_SATA setup_ba16_sata(); |