summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKoro Chen <koro.chen@mediatek.com>2015-12-30 17:50:56 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-03-12 09:10:49 +0100
commit603cb8511f288ea014cac7360d2ece1bbbfe860f (patch)
tree63035527604c6623429779dc342f0f35fa175e25 /src/mainboard/google
parentcd6aac15242d8a74a90f789c108b331a41b2aa6f (diff)
downloadcoreboot-603cb8511f288ea014cac7360d2ece1bbbfe860f.tar.xz
google/oak: Remove obsolete Rev0 setting
BRANCH=none BUG=none TEST=emerge-oak coreboot Change-Id: I65aa87e88cf812fdb490933de1a3b121866a2694 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 8f703f7e71ae6ffc0f1ac0e70486d087a28da5ba Original-Change-Id: I8d794464d45ea69f9a46f7ebc505f6ec2127f204 Original-Signed-off-by: Koro Chen <koro.chen@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/319987 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> Reviewed-on: https://review.coreboot.org/13974 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/oak/mainboard.c24
1 files changed, 6 insertions, 18 deletions
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index e58d168d8f..fe6bbccd09 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -100,24 +100,12 @@ static void configure_audio(void)
{
mtcmos_audio_power_on();
- /* regulator for codecs */
- switch (board_id()) {
- case 0:
- /* vgp1 set to 1.22V */
- mt6391_configure_ldo(LDO_VCAMD, LDO_1P22);
- /* vgp4 set to 1.8V */
- mt6391_configure_ldo(LDO_VGP4, LDO_1P8);
- break;
- default:
- /* board from Rev1 */
- /* vgp1 set to 1.8V */
- mt6391_configure_ldo(LDO_VCAMD, LDO_1P8);
- /* delay 1ms for realtek's power sequence request */
- mdelay(1);
- /* vcama set to 1.8V */
- mt6391_configure_ldo(LDO_VCAMA, LDO_1P8);
- break;
- }
+ /* vgp1 set to 1.8V */
+ mt6391_configure_ldo(LDO_VCAMD, LDO_1P8);
+ /* delay 1ms for realtek's power sequence request */
+ mdelay(1);
+ /* vcama set to 1.8V */
+ mt6391_configure_ldo(LDO_VCAMA, LDO_1P8);
/* reset ALC5676 */
gpio_output(PAD_LCM_RST, 1);