rk3288: Add VOP_MODE_NONE for headless devices

BUG=none
BRANCH=none
TEST=built w/ follow-up rialto patch

Change-Id: I166c75673c199e8c6860f601db6759cdc3cb9c96
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: ba0e0b639f12654ec54216d4366c688baa5b3253
Original-Change-Id: Id21c87ace2f4d381a1e374e1d5fe15cf1cd96da0
Original-Signed-off-by: David Hendricks <dhendrix@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/282047
Reviewed-on: http://review.coreboot.org/10779
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
David Hendricks 2015-06-25 18:00:37 -07:00 committed by Patrick Georgi
parent 51e73c3f6e
commit cc828514ce
2 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,8 @@ void rk_display_init(device_t dev, u32 lcdbase,
mmu_config_range(lower / MiB, (upper - lower) / MiB, DCACHE_OFF); mmu_config_range(lower / MiB, (upper - lower) / MiB, DCACHE_OFF);
switch (conf->vop_mode) { switch (conf->vop_mode) {
case VOP_MODE_NONE:
return;
case VOP_MODE_AUTO_DETECT: case VOP_MODE_AUTO_DETECT:
/* try EDP first, then HDMI */ /* try EDP first, then HDMI */
case VOP_MODE_EDP: case VOP_MODE_EDP:

View File

@ -107,6 +107,7 @@ enum vop_modes {
*/ */
VOP_MODE_EDP = 0, VOP_MODE_EDP = 0,
VOP_MODE_HDMI, VOP_MODE_HDMI,
VOP_MODE_NONE,
VOP_MODE_AUTO_DETECT, VOP_MODE_AUTO_DETECT,
VOP_MODE_UNKNOWN, VOP_MODE_UNKNOWN,
}; };