summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-06 12:23:17 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-10 06:34:58 +0000
commit0433726ab57a1430f0016f18ba6a57c9c8e2ca35 (patch)
treeb133a99bddddcd1da4c04fa9fe7f6db41bbbf508
parent7d462d74c6989e8f7fe11efb1c26377e93bc99d0 (diff)
downloadchrome-ec-0433726ab57a1430f0016f18ba6a57c9c8e2ca35.tar.gz
coil: CC_SPS->CC_SPP
BUG=b:175244613 TEST=make buildall -j Change-Id: I0293c7ba92d05bf0d47a92bcc86c48ac61060f09 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2615127 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rw-r--r--chip/g/spp.c4
-rw-r--r--include/console_channel.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chip/g/spp.c b/chip/g/spp.c
index 377d11d296..5162b5652c 100644
--- a/chip/g/spp.c
+++ b/chip/g/spp.c
@@ -56,8 +56,8 @@
static uint32_t spp_tx_count, spp_rx_count, tx_empty_count, max_rx_batch;
/* Console output macros */
-#define CPUTS(outstr) cputs(CC_SPS, outstr)
-#define CPRINTS(format, args...) cprints(CC_SPS, format, ## args)
+#define CPUTS(outstr) cputs(CC_SPP, outstr)
+#define CPRINTS(format, args...) cprints(CC_SPP, format, ## args)
/* Flag indicating if there has been any data received while CS was asserted. */
static uint8_t seen_data;
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 8b81926544..34a5e1be48 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -77,7 +77,7 @@ CONSOLE_CHANNEL(CC_SPI, "spi")
CONSOLE_CHANNEL(CC_RBOX, "rbox")
#endif
#ifdef CONFIG_SPP
-CONSOLE_CHANNEL(CC_SPS, "spp")
+CONSOLE_CHANNEL(CC_SPP, "spp")
#endif
#if defined(CONFIG_SWITCH) || defined(CONFIG_LID_SWITCH)
CONSOLE_CHANNEL(CC_SWITCH, "switch")