summaryrefslogtreecommitdiff
path: root/chip/host/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/config_chip.h')
-rw-r--r--chip/host/config_chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/host/config_chip.h b/chip/host/config_chip.h
index b809134e83..5df44a9315 100644
--- a/chip/host/config_chip.h
+++ b/chip/host/config_chip.h
@@ -36,4 +36,7 @@ extern char __host_flash[CONFIG_FLASH_PHYSICAL_SIZE];
/* Do NOT use common timer code which is designed for hardware counters. */
#undef CONFIG_COMMON_TIMER
+#define GPIO_PIN(port, index) GPIO_##port, (1 << index)
+#define GPIO_PIN_MASK(port, mask) GPIO_##port, (mask)
+
#endif /* __CROS_EC_CONFIG_CHIP_H */