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:
parent
51e73c3f6e
commit
cc828514ce
|
@ -54,6 +54,8 @@ void rk_display_init(device_t dev, u32 lcdbase,
|
|||
mmu_config_range(lower / MiB, (upper - lower) / MiB, DCACHE_OFF);
|
||||
|
||||
switch (conf->vop_mode) {
|
||||
case VOP_MODE_NONE:
|
||||
return;
|
||||
case VOP_MODE_AUTO_DETECT:
|
||||
/* try EDP first, then HDMI */
|
||||
case VOP_MODE_EDP:
|
||||
|
|
|
@ -107,6 +107,7 @@ enum vop_modes {
|
|||
*/
|
||||
VOP_MODE_EDP = 0,
|
||||
VOP_MODE_HDMI,
|
||||
VOP_MODE_NONE,
|
||||
VOP_MODE_AUTO_DETECT,
|
||||
VOP_MODE_UNKNOWN,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue