arm: mx6: cm-fx6: setup hdmi only on hdmi enable
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 23 Jul 2015 14:19:31 +0000 (17:19 +0300)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 08:51:37 +0000 (10:51 +0200)
commitb406f90342751a9534a00ab8f702a3b23ebbdd04
tree6bbf190091af7dab85f6600bcddb557bec8a305a
parent33299499492586b8af3c6fa930b3122cd9293039
arm: mx6: cm-fx6: setup hdmi only on hdmi enable

Refactor display code to only setup hdmi if do_enable_hdmi() is invoked.

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