diff options
author | Craig Hesling <hesling@chromium.org> | 2020-02-14 14:08:51 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-25 22:58:07 +0000 |
commit | 5ee54edfd520ce1a447cf0b04d1fcdf3f618188e (patch) | |
tree | bfbd2111c5d008e3f596d4141479409110a75cf2 /board | |
parent | dba73647bff5ca323ecdcd2b38bd5c3a2b9581bc (diff) | |
download | chrome-ec-5ee54edfd520ce1a447cf0b04d1fcdf3f618188e.tar.gz |
nocturne_fp: Beautify gpio.inc
This has no functional change, as verified with compare_builds.sh.
BRANCH=nocturne,hatch
BUG=none
TEST=./util/compare_build.sh -b nocturne_fp
Change-Id: If0fab353f85c7e61c9556cfdd23d37649420df06
Signed-off-by: Craig Hesling <hesling@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2057497
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/nocturne_fp/gpio.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/board/nocturne_fp/gpio.inc b/board/nocturne_fp/gpio.inc index a76f82cf94..48a15209ba 100644 --- a/board/nocturne_fp/gpio.inc +++ b/board/nocturne_fp/gpio.inc @@ -11,13 +11,11 @@ GPIO_INT(SPI1_NSS, PIN(A, 4), GPIO_INPUT, spi_event) GPIO_INT(PCH_SLP_S0_L, PIN(D,13), GPIO_INT_BOTH, slp_event) GPIO_INT(PCH_SLP_S3_L, PIN(A,11), GPIO_INT_BOTH, slp_event) -#if defined(APPLY_RESET_LOOP_FIX) && defined(SECTION_IS_RW) -GPIO_INT(WP, PIN(B, 7), GPIO_INT_BOTH, wp_event) -#endif - GPIO(PCH_SLP_S4_L, PIN(D, 8), GPIO_INPUT) GPIO(PCH_SLP_SUS_L, PIN(D, 3), GPIO_INPUT) -#if !(defined(APPLY_RESET_LOOP_FIX) && defined(SECTION_IS_RW)) +#if defined(APPLY_RESET_LOOP_FIX) && defined(SECTION_IS_RW) +GPIO_INT(WP, PIN(B, 7), GPIO_INT_BOTH, wp_event) +#else GPIO(WP, PIN(B, 7), GPIO_INPUT) #endif |