summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/usb_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/usb_common.c b/common/usb_common.c
index 32d9d82e74..429bc8be8b 100644
--- a/common/usb_common.c
+++ b/common/usb_common.c
@@ -35,6 +35,12 @@
#include "usbc_ppc.h"
#include "util.h"
+/*
+ * TODO(b/272518464): Work around coreboot GCC preprocessor bug.
+ * #line marks the *next* line, so it is off by one.
+ */
+#line 43
+
#ifdef CONFIG_COMMON_RUNTIME
#define CPRINTS(format, args...) cprints(CC_USBPD, format, ##args)
#define CPRINTF(format, args...) cprintf(CC_USBPD, format, ##args)