summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/config.h19
-rw-r--r--include/gpio.wrap6
2 files changed, 0 insertions, 25 deletions
diff --git a/include/config.h b/include/config.h
index aef1d301c5..525f15b61d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1180,22 +1180,6 @@
#undef CONFIG_COMMON_GPIO_SHORTNAMES
/*
- * Control the IO pins of IO expander via IO Expander APIs
- *
- * If defined, declare the IOEX pin with macro IOEX. For example:
- * IOEX(IO_NAME, EXPIN(0, 0, 0), GPIO_OUT_HIGH)
- * For more details, see gpio_list.h.
- *
- * WARNING: make sure none of IOEX IOs are accessed at interrupt level / with
- * interrupts disabled. Doing so may hang the EC because IO expanders may rely
- * on I2C interrupts.
- *
- * Some reasons that not unify the GPIO and IOEX APIs have been disscussed and
- * filed in the crbug.com/985540.
- */
-#undef CONFIG_IO_EXPANDER
-
-/*
* Provide common runtime layer code (tasks, hooks ...)
* You want this unless you are doing a really tiny firmware.
*/
@@ -2163,9 +2147,6 @@
/* Support NXP PCA9534 I/O expander. */
#undef CONFIG_IO_EXPANDER_PCA9534
-/* Number of IO Expander ports */
-#undef CONFIG_IO_EXPANDER_PORT_COUNT
-
/*****************************************************************************/
/* Number of IRQs supported on the EC chip */
diff --git a/include/gpio.wrap b/include/gpio.wrap
index b68621d49c..82f6d08da2 100644
--- a/include/gpio.wrap
+++ b/include/gpio.wrap
@@ -132,10 +132,6 @@
#define UNIMPLEMENTED_RW(name) UNIMPLEMENTED(name)
#endif
-#ifndef IOEX
-#define IOEX(name, expin, flags)
-#endif
-
#include "gpio.inc"
/*
@@ -153,5 +149,3 @@
#undef UNIMPLEMENTED
#undef UNIMPLEMENTED_RO
#undef UNIMPLEMENTED_RW
-
-#undef IOEX