]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mx6: cm-fx6: make it possible to not init display
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 23 Jul 2015 14:19:29 +0000 (17:19 +0300)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 08:51:37 +0000 (10:51 +0200)
commit4377859aa697ebec8e2ddb1cefe2ce338cd73f65
tree7306f72ddeb28db3ee17f321b9c7274563278dac
parent75dbbbfdf36ac01d56418a1e47ed30deeb6f72ec
arm: mx6: cm-fx6: make it possible to not init display

Implement a cm-fx6 specific board_video_skip() to provide the option to not
initialize the display.

The new function does not init display if the environment variable "panel" is
not defined, or if it is set to an unsupported value.

Collateral changes:
- Don't use the global displays array (it's CONFIG_IMX_VIDEO_SKIP specific).
- Don't use detect_hdmi(), since env controlled init makes it unnecessary.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c
include/configs/cm_fx6.h