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/include/asm | |
parent | c8d7647f639813cff08a4a7de62db815829ec72b (diff) | |
download | u-boot-imx-15fde0fc11f93f19f40c9cda36e7c8d4848d9c75.zip u-boot-imx-15fde0fc11f93f19f40c9cda36e7c8d4848d9c75.tar.gz u-boot-imx-15fde0fc11f93f19f40c9cda36e7c8d4848d9c75.tar.bz2 |
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/include/asm')
-rw-r--r-- | arch/arm/include/asm/imx-common/video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/video.h b/arch/arm/include/asm/imx-common/video.h index cad5f86..941a031 100644 --- a/arch/arm/include/asm/imx-common/video.h +++ b/arch/arm/include/asm/imx-common/video.h @@ -12,6 +12,7 @@ struct display_info_t { int bus; int addr; int pixfmt; + int di; int (*detect)(struct display_info_t const *dev); void (*enable)(struct display_info_t const *dev); struct fb_videomode mode; |