summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce <Bruce.Wan@quantatw.com>2015-10-12 16:28:24 +0800
committerChromeOS bot <3su6n15k.default@developer.gserviceaccount.com>2015-10-13 02:24:21 +0000
commitfafde805578e4b1dd3d98852d62533a055300fe9 (patch)
treeb88b06f8784a7eb888b62281cc714885e3ee59b2
parent655daf7d75c116f036ee571af235cbae76d73460 (diff)
downloadchrome-ec-fafde805578e4b1dd3d98852d62533a055300fe9.tar.gz
Ultima: Enabling heavysleep idle task at S3
Enable heavysleep idle task at S3 for BCRD2 systems BUG=none BRANCH=firmware-strago-7287.B TEST=Put the DUT in S3. Console is disabled when heavysleep idle task kicks in. EC power is reduced Change-Id: I7865e282d9d8118cd80cce45a620e6e4e30d116f Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/304973 Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/ultima/board.c1
-rw-r--r--board/ultima/board.h1
-rw-r--r--board/ultima/gpio.inc2
3 files changed, 3 insertions, 1 deletions
diff --git a/board/ultima/board.c b/board/ultima/board.c
index 9e90667b78..3806db9d05 100644
--- a/board/ultima/board.c
+++ b/board/ultima/board.c
@@ -27,6 +27,7 @@
#include "temp_sensor.h"
#include "temp_sensor_chip.h"
#include "thermal.h"
+#include "uart.h"
#include "util.h"
#define GPIO_KB_INPUT (GPIO_INPUT | GPIO_PULL_UP)
diff --git a/board/ultima/board.h b/board/ultima/board.h
index 935600f27c..ff8ffd593c 100644
--- a/board/ultima/board.h
+++ b/board/ultima/board.h
@@ -24,6 +24,7 @@
#define CONFIG_POWER_BUTTON
#define CONFIG_POWER_BUTTON_X86
#define CONFIG_LID_SWITCH
+#define CONFIG_LOW_POWER_IDLE
#define CONFIG_LOW_POWER_PSEUDO_G3
#define CONFIG_POWER_COMMON
#define CONFIG_POWER_SHUTDOWN_PAUSE_IN_S5
diff --git a/board/ultima/gpio.inc b/board/ultima/gpio.inc
index 4dfa0e139d..b325e3e898 100644
--- a/board/ultima/gpio.inc
+++ b/board/ultima/gpio.inc
@@ -15,7 +15,7 @@ GPIO_INT(POWER_BUTTON_L, PIN(35), GPIO_INT_BOTH, power_
GPIO_INT(RSMRST_L_PGOOD, PIN(63), GPIO_INT_BOTH, power_signal_interrupt) /* RSMRST_N_PWRGD from power logic */
GPIO_INT(ALL_SYS_PGOOD, PIN(130), GPIO_INT_BOTH, power_signal_interrupt) /* ALL_SYS_PWRGD from power logic */
#ifdef CONFIG_LOW_POWER_IDLE
-GPIO_INT(UART0_RX, PIN(162), GPIO_INT_BOTH | GPIO_PULL_UP, uart_deepsleep_interrupt) /* UART0 RX input */
+GPIO_INT(UART0_RX, PIN(162), GPIO_INT_BOTH_DSLEEP | GPIO_PULL_UP, uart_deepsleep_interrupt) /* UART0 RX input */
#else
GPIO_INT(UART0_RX, PIN(162), GPIO_INPUT | GPIO_PULL_UP, NULL) /* UART0 RX input */
#endif