nocturne_fp: Beautify gpio.inc
This has no functional change, as verified with compare_builds.sh.
BRANCH=nocturne,hatch
TEST=./util/compare_build.sh -b nocturne_fp
@@ -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
