]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 12:34:42 +0000 (14:34 +0200)
commita7d5ce636b07cb3efa3250570ac38f86f75b4a21
treefd3bacc2bc6db74c709e80c06713549dcbbfa04f
parent8fa057d771343ca800bb51d17ccbfecaf2c7f05d
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