diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2016-11-01 15:04:21 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-11-29 16:33:21 +0100 |
commit | 15fde0fc11f93f19f40c9cda36e7c8d4848d9c75 (patch) | |
tree | 97e25e7ef8295d17b1bcab87060647974dc85486 /arch/arm/imx-common | |
parent | c8d7647f639813cff08a4a7de62db815829ec72b (diff) |
imx: make ipu's di configurable
The ipu has two display interfaces. Make the used one a parameter
in struct display_info_t instead of using unconditionally DI0.
DI0 is the default setting.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Eric Nelson <eric@nelint.com>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r-- | arch/arm/imx-common/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/video.c b/arch/arm/imx-common/video.c index fdc987f469..549bf9d957 100644 --- a/arch/arm/imx-common/video.c +++ b/arch/arm/imx-common/video.c @@ -34,7 +34,7 @@ int board_video_skip(void) } if (i < display_count) { - ret = ipuv3_fb_init(&displays[i].mode, 0, + ret = ipuv3_fb_init(&displays[i].mode, displays[i].di ? 1 : 0, displays[i].pixfmt); if (!ret) { if (displays[i].enable) |