summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKoro Chen <koro.chen@mediatek.com>2016-03-07 11:27:26 +0800
committerMartin Roth <martinroth@google.com>2016-03-15 21:34:33 +0100
commit00feb3928f130bcf6ddf97a605f1e07cb3c37661 (patch)
tree52fe51346e872d657171c974c3b247ca433d703f /src
parent621dd8468ff1ccc915498c5ee8db824ab286193e (diff)
google/oak: Remove EC_SUSPEND_L from AP
This pin is not used anymore since Rev5. BRANCH=none BUG=chrome-os-partner:49375 TEST=make and boot on Rev4/5 Change-Id: I3c775eb2b5e05256523bfd8be814e516944a2f90 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: a87e3babe28413bd879a2d95d4612a5b6b541419 Original-Change-Id: I87972ff8961309ecdad03639e1b6fac1da119cd7 Original-Signed-off-by: Koro Chen <koro.chen@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/331810 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/14087 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/oak/chromeos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/google/oak/chromeos.c b/src/mainboard/google/oak/chromeos.c
index 47d816b5bd..8ea975a397 100644
--- a/src/mainboard/google/oak/chromeos.c
+++ b/src/mainboard/google/oak/chromeos.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <boardid.h>
#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
@@ -30,7 +31,8 @@ void setup_chromeos_gpios(void)
gpio_input_pullup(EC_IRQ);
gpio_input_pullup(LID);
gpio_input_pullup(POWER_BUTTON);
- gpio_output(EC_SUSPEND_L, 1);
+ if (board_id() < 5)
+ gpio_output(EC_SUSPEND_L, 1);
}
void fill_lb_gpios(struct lb_gpios *gpios)