From 603cb8511f288ea014cac7360d2ece1bbbfe860f Mon Sep 17 00:00:00 2001 From: Koro Chen Date: Wed, 30 Dec 2015 17:50:56 +0800 Subject: google/oak: Remove obsolete Rev0 setting BRANCH=none BUG=none TEST=emerge-oak coreboot Change-Id: I65aa87e88cf812fdb490933de1a3b121866a2694 Signed-off-by: Patrick Georgi Original-Commit-Id: 8f703f7e71ae6ffc0f1ac0e70486d087a28da5ba Original-Change-Id: I8d794464d45ea69f9a46f7ebc505f6ec2127f204 Original-Signed-off-by: Koro Chen Original-Reviewed-on: https://chromium-review.googlesource.com/319987 Original-Commit-Ready: Yidi Lin Original-Tested-by: Yidi Lin Original-Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/13974 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/oak/mainboard.c | 24 ++++++------------------ 1 file 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); -- cgit v1.2.3