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>
This commit is contained in:
Koro Chen 2016-03-07 11:27:26 +08:00 committed by Martin Roth
parent 621dd8468f
commit 00feb3928f
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <boardid.h>
#include <boot/coreboot_tables.h> #include <boot/coreboot_tables.h>
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
@ -30,7 +31,8 @@ void setup_chromeos_gpios(void)
gpio_input_pullup(EC_IRQ); gpio_input_pullup(EC_IRQ);
gpio_input_pullup(LID); gpio_input_pullup(LID);
gpio_input_pullup(POWER_BUTTON); 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) void fill_lb_gpios(struct lb_gpios *gpios)