diff options
Diffstat (limited to 'include/gpio_signal.h')
-rw-r--r-- | include/gpio_signal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gpio_signal.h b/include/gpio_signal.h index 478e83dca5..86fd5d7822 100644 --- a/include/gpio_signal.h +++ b/include/gpio_signal.h @@ -8,6 +8,10 @@ #include "compile_time_macros.h" +#ifdef CONFIG_ZEPHYR +#include "zephyr_gpio_signal.h" +#else + /* * There are 3 different IO signal types used by the EC. * Ensure they each use a unique range of values so we can tell them apart. @@ -46,4 +50,6 @@ BUILD_ASSERT(IOEX_SIGNAL_END < IOEX_LIMIT); #define IOEX_COUNT (IOEX_SIGNAL_END - IOEX_SIGNAL_START) +#endif /* !CONFIG_ZEPHYR */ + #endif /* __CROS_EC_GPIO_SIGNAL_H */ |