summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2013-12-10 15:40:57 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-14 02:31:46 +0000
commitdd59e5f5da03cc584113fad9ede13bc81c48dee8 (patch)
tree6f55d52bc6b78e9e58399326f5d4a3112d80b2b2 /board
parentf749c9363cb694836b0c9471e7847d33e3515711 (diff)
downloadchrome-ec-dd59e5f5da03cc584113fad9ede13bc81c48dee8.tar.gz
nyan: propagate EC reset to the AP reset for old boards.
New boards (rev >= 2.2) are not affected since chipset_force_shutdown() is called. On old boards the power rails of old boards are not removed completely. This CL ensures the AP is warm-reset after EC is reset. BUG=None BRANCH=nyan TEST=nVidia verified on old boards. Change-Id: Ia2c2b243534d8a73b9b4d5320aad4664b1ac8b12 Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/179521 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nyan/board.c1
-rw-r--r--board/nyan/board.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/nyan/board.c b/board/nyan/board.c
index 8b24abe6d2..c2d6b44adc 100644
--- a/board/nyan/board.c
+++ b/board/nyan/board.c
@@ -85,6 +85,7 @@ const struct gpio_info gpio_list[] = {
{"CHARGING", GPIO_A, (1<<11), GPIO_OUT_LOW, NULL},
{"EC_BL_OVERRIDE", GPIO_H, (1<<1), GPIO_ODR_HIGH, NULL},
{"PMIC_THERM_L", GPIO_A, (1<<1), GPIO_ODR_HIGH, NULL},
+ {"PMIC_WARM_RESET_L", GPIO_C, (1<<3), GPIO_OUT_HIGH, NULL},
};
BUILD_ASSERT(ARRAY_SIZE(gpio_list) == GPIO_COUNT);
diff --git a/board/nyan/board.h b/board/nyan/board.h
index e51960e07d..beaa460a10 100644
--- a/board/nyan/board.h
+++ b/board/nyan/board.h
@@ -88,6 +88,7 @@ enum gpio_signal {
GPIO_CHARGING,
GPIO_EC_BL_OVERRIDE,
GPIO_PMIC_THERM_L,
+ GPIO_PMIC_WARM_RESET_L,
/* Number of GPIOs; not an actual GPIO */
GPIO_COUNT
};