summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorJitao Shi <jitao.shi@mediatek.com>2016-01-11 19:24:37 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-05-09 08:32:24 +0200
commit8ea218b2cbed7f7571cb464e7a9b10c5248c38dd (patch)
treee2268e35473bb739035d54b196fa357cd0093dc6 /src/soc/mediatek
parent4a04a7bf10d7b2c372247fce297f7a69b85de250 (diff)
downloadcoreboot-8ea218b2cbed7f7571cb464e7a9b10c5248c38dd.tar.xz
google/oak: configure display
BRANCH=none BUG=chrome-os-partner:43706 TEST=saw bootloader screen on rev4 and rev5 Change-Id: I844fed6f63467ad04d17115934a1e4724cc0b671 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 2e9d57a42402631923c96e70bc2eff5c135de2fc Original-Change-Id: I748b0eac9a0aab1d38d5d44a1a50dc33d5375379 Original-Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/331813 Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-on: https://review.coreboot.org/14690 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8173/include/soc/mt6391.h2
-rw-r--r--src/soc/mediatek/mt8173/mt6391.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8173/include/soc/mt6391.h b/src/soc/mediatek/mt8173/include/soc/mt6391.h
index c2a2ef39d5..3091d06ed3 100644
--- a/src/soc/mediatek/mt8173/include/soc/mt6391.h
+++ b/src/soc/mediatek/mt8173/include/soc/mt6391.h
@@ -264,7 +264,7 @@ enum{
enum ldo_power {
LDO_VCAMD = 0, /* VGP1 */
- LDO_VCAMIO = 1, /* VGP2 */
+ LDO_VGP2 = 1, /* VGP2 */
LDO_VCAMAF = 2, /* VGP3 */
LDO_VGP4 = 3,
LDO_VGP5 = 4,
diff --git a/src/soc/mediatek/mt8173/mt6391.c b/src/soc/mediatek/mt8173/mt6391.c
index ced86d7ff0..f88fb8efca 100644
--- a/src/soc/mediatek/mt8173/mt6391.c
+++ b/src/soc/mediatek/mt8173/mt6391.c
@@ -98,7 +98,7 @@ void mt6391_configure_ldo(enum ldo_power ldo, enum ldo_voltage vsel)
if (vsel == LDO_1P22)
vsel = 0;
break;
- case LDO_VCAMIO:
+ case LDO_VGP2:
assert(vsel != 1);
if (vsel == LDO_1P0)
vsel = 1;