diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-09-24 15:34:03 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-09-25 01:23:29 +0000 |
commit | a617846582a52f90883f49c3c75324dcbb5e7fdb (patch) | |
tree | 13aca1ecf2e340acf960077430d6923026a6ee5a /board/link | |
parent | 32d073f6c6e876c55a8dd13053ce49964773e75f (diff) | |
download | chrome-ec-a617846582a52f90883f49c3c75324dcbb5e7fdb.tar.gz |
Make support for dedicated recovery GPIO signal optional
switch.c currently assumes that all boards have GPIO_RECOVERY_L. This
is not true for Rambi, and also isn't true for ARM boards (which
should also eventually use the common switch implementation).
Add a new CONFIG_SWITCH_DEDICATED_RECOVERY option to control whether
to compile this support.
BUG=chrome-os-partner:22893
BRANCH=none
TEST=compile all boards; pass unit tests
Change-Id: If6f34d1afd580c9d79a8edcdda18833068e70f66
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/170489
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/link')
-rw-r--r-- | board/link/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/link/board.h b/board/link/board.h index f2de5ddfd4..91730efd0f 100644 --- a/board/link/board.h +++ b/board/link/board.h @@ -33,6 +33,7 @@ #define CONFIG_POWER_BUTTON_X86 #define CONFIG_PWM #define CONFIG_PWM_KBLIGHT +#define CONFIG_SWITCH_DEDICATED_RECOVERY #define CONFIG_TEMP_SENSOR #define CONFIG_TEMP_SENSOR_TMP006 #define CONFIG_UART_HOST 1 |