commit | 65873ca934937b414c65876f83bfb3b269594b80 | [log] [tgz] |
---|---|---|
author | Yidi Lin <yidi.lin@mediatek.com> | Fri Jul 31 17:10:57 2015 +0800 |
committer | Patrick Georgi <pgeorgi@google.com> | Thu Dec 03 14:23:29 2015 +0100 |
tree | 03797209a6d04c3ed529d9089409eb91baf902fc | |
parent | 9d48e1732ad857a16fc60e0058894cbe01aca0bf [diff] [blame] |
google/oak: Implement the code which reads GPIOs for ChromeOS. BUG=none BRANCH=none TEST=emerge-oak corebootk Change-Id: Ic1a0d640cac7fd98acd06d619736303fa449c0a1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: ce465e8cbdf6465c072e476a91a400d78c959218 Original-Change-Id: Iade51db02f45264fdffe387e0563b60e637c0710 Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/292674 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/12606 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/src/mainboard/google/oak/bootblock.c b/src/mainboard/google/oak/bootblock.c index 38a777c..e82ad6e 100644 --- a/src/mainboard/google/oak/bootblock.c +++ b/src/mainboard/google/oak/bootblock.c
@@ -24,6 +24,8 @@ #include <soc/pericfg.h> #include <soc/pinmux.h> +#include "gpio.h" + static void i2c_set_gpio_pinmux(void) { gpio_set_mode(PAD_SDA1, PAD_SDA1_FUNC_SDA1); @@ -45,4 +47,6 @@ /* set i2c related gpio */ i2c_set_gpio_pinmux(); + + setup_chromeos_gpios(); }