summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
-rw-r--r--include/console_channel.inc5
-rw-r--r--include/module_id.h13
3 files changed, 18 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h
index aab9952def..19a51cd194 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1484,6 +1484,12 @@
/* Size of RAM available on the chip, in bytes */
#undef CONFIG_RAM_SIZE
+/* Enable rbox peripheral */
+#undef CONFIG_RBOX
+
+/* Enable rbox debug interrupts */
+#undef CONFIG_RBOX_DEBUG
+
/* Enable RDD peripheral */
#undef CONFIG_RDD
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 9f63908074..0e717e8eee 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -15,7 +15,9 @@ CONSOLE_CHANNEL(CC_CHIPSET, "chipset")
CONSOLE_CHANNEL(CC_CLOCK, "clock")
CONSOLE_CHANNEL(CC_DMA, "dma")
CONSOLE_CHANNEL(CC_EVENTS, "events")
+#ifdef CONFIG_GESTURE_SW_DETECTION
CONSOLE_CHANNEL(CC_GESTURE, "gesture")
+#endif
CONSOLE_CHANNEL(CC_GPIO, "gpio")
CONSOLE_CHANNEL(CC_HOSTCMD, "hostcmd")
CONSOLE_CHANNEL(CC_I2C, "i2c")
@@ -34,6 +36,9 @@ CONSOLE_CHANNEL(CC_PD_HOST_CMD, "pdhostcm")
CONSOLE_CHANNEL(CC_PORT80, "port80")
CONSOLE_CHANNEL(CC_PWM, "pwm")
CONSOLE_CHANNEL(CC_SPI, "spi")
+#ifdef CONFIG_RBOX
+CONSOLE_CHANNEL(CC_RBOX, "rbox")
+#endif
#ifdef CONFIG_SPS
CONSOLE_CHANNEL(CC_SPS, "sps")
#endif
diff --git a/include/module_id.h b/include/module_id.h
index 8697cbdd85..72849afa4d 100644
--- a/include/module_id.h
+++ b/include/module_id.h
@@ -33,20 +33,21 @@ enum module_id {
MODULE_POWER_LED,
MODULE_PWM, /* 20 */
MODULE_RDD,
+ MODULE_RBOX,
MODULE_SPI,
MODULE_SPI_FLASH,
- MODULE_SPI_MASTER,
- MODULE_SWITCH, /* 25 */
+ MODULE_SPI_MASTER, /* 25 */
+ MODULE_SWITCH,
MODULE_SYSTEM,
MODULE_TASK,
MODULE_THERMAL,
- MODULE_UART,
- MODULE_USART, /* 30 */
+ MODULE_UART, /* 30 */
+ MODULE_USART,
MODULE_USB,
MODULE_USB_DEBUG,
MODULE_USB_PD,
- MODULE_USB_PORT_POWER,
- MODULE_USB_SWITCH, /* 35 */
+ MODULE_USB_PORT_POWER, /* 35 */
+ MODULE_USB_SWITCH,
MODULE_VBOOT,
/* Module count; not an actual module */