summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2015-08-24 10:19:52 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-08 10:38:20 -0700
commit7bdb69c464e8056b77f3727411d02f5b5fe970b8 (patch)
tree93d361ed8bbb220c477f82e4a107658c8b7f254a
parent4876ab900b469d7fc92e1cb079d86262f34b9e01 (diff)
downloadchrome-ec-7bdb69c464e8056b77f3727411d02f5b5fe970b8.tar.gz
UART: Remove unused uart.h header includes
Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: Ife068807f79f6435292643c49afa1a9a30ae7080 Reviewed-on: https://chromium-review.googlesource.com/296733 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/timer.c1
-rw-r--r--core/cortex-m/panic.c1
-rw-r--r--core/cortex-m/task.c1
-rw-r--r--core/cortex-m/watchdog.c1
-rw-r--r--core/cortex-m0/panic.c1
-rw-r--r--core/cortex-m0/task.c1
-rw-r--r--core/cortex-m0/watchdog.c1
-rw-r--r--core/nds32/panic.c1
-rw-r--r--core/nds32/task.c1
-rw-r--r--driver/ina2xx.c1
-rw-r--r--driver/led/lp5562.c1
-rw-r--r--driver/regulator_ir357x.c1
-rw-r--r--driver/usb_switch_tsu6721.c1
-rw-r--r--test/powerdemo.c1
14 files changed, 0 insertions, 14 deletions
diff --git a/common/timer.c b/common/timer.c
index 4fa2e6b93b..f6c69ac5d2 100644
--- a/common/timer.c
+++ b/common/timer.c
@@ -10,7 +10,6 @@
#include "hooks.h"
#include "hwtimer.h"
#include "system.h"
-#include "uart.h"
#include "util.h"
#include "task.h"
#include "timer.h"
diff --git a/core/cortex-m/panic.c b/core/cortex-m/panic.c
index 0d484bf1d0..092222433a 100644
--- a/core/cortex-m/panic.c
+++ b/core/cortex-m/panic.c
@@ -12,7 +12,6 @@
#include "system.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
#include "watchdog.h"
diff --git a/core/cortex-m/task.c b/core/cortex-m/task.c
index 9f275391d3..f7fbfded19 100644
--- a/core/cortex-m/task.c
+++ b/core/cortex-m/task.c
@@ -13,7 +13,6 @@
#include "panic.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
typedef union {
diff --git a/core/cortex-m/watchdog.c b/core/cortex-m/watchdog.c
index 229009330e..6a047e662b 100644
--- a/core/cortex-m/watchdog.c
+++ b/core/cortex-m/watchdog.c
@@ -9,7 +9,6 @@
#include "panic.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "watchdog.h"
void __keep watchdog_trace(uint32_t excep_lr, uint32_t excep_sp)
diff --git a/core/cortex-m0/panic.c b/core/cortex-m0/panic.c
index cb347054ea..66b3a301b0 100644
--- a/core/cortex-m0/panic.c
+++ b/core/cortex-m0/panic.c
@@ -12,7 +12,6 @@
#include "system.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
#include "watchdog.h"
diff --git a/core/cortex-m0/task.c b/core/cortex-m0/task.c
index 0a229fcbde..501659a48c 100644
--- a/core/cortex-m0/task.c
+++ b/core/cortex-m0/task.c
@@ -13,7 +13,6 @@
#include "panic.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
typedef union {
diff --git a/core/cortex-m0/watchdog.c b/core/cortex-m0/watchdog.c
index 53172dd2a6..a4e34d51bf 100644
--- a/core/cortex-m0/watchdog.c
+++ b/core/cortex-m0/watchdog.c
@@ -9,7 +9,6 @@
#include "panic.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "watchdog.h"
void watchdog_trace(uint32_t excep_lr, uint32_t excep_sp)
diff --git a/core/nds32/panic.c b/core/nds32/panic.c
index ebdffb32ea..79cd065321 100644
--- a/core/nds32/panic.c
+++ b/core/nds32/panic.c
@@ -11,7 +11,6 @@
#include "system.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
void report_panic(uint32_t *regs, uint32_t itype)
diff --git a/core/nds32/task.c b/core/nds32/task.c
index 97c1ac55fb..bb62f5a725 100644
--- a/core/nds32/task.c
+++ b/core/nds32/task.c
@@ -13,7 +13,6 @@
#include "link_defs.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
typedef union {
diff --git a/driver/ina2xx.c b/driver/ina2xx.c
index c89e02a53b..34a928fb33 100644
--- a/driver/ina2xx.c
+++ b/driver/ina2xx.c
@@ -11,7 +11,6 @@
#include "system.h"
#include "timer.h"
#include "ina2xx.h"
-#include "uart.h"
#include "util.h"
/* Console output macros */
diff --git a/driver/led/lp5562.c b/driver/led/lp5562.c
index 880dd05d46..669057b728 100644
--- a/driver/led/lp5562.c
+++ b/driver/led/lp5562.c
@@ -9,7 +9,6 @@
#include "i2c.h"
#include "lp5562.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
/* 8-bit I2C address */
diff --git a/driver/regulator_ir357x.c b/driver/regulator_ir357x.c
index 0d337a072b..e87094534d 100644
--- a/driver/regulator_ir357x.c
+++ b/driver/regulator_ir357x.c
@@ -10,7 +10,6 @@
#include "hooks.h"
#include "i2c.h"
#include "timer.h"
-#include "uart.h"
#include "util.h"
/* Console output macros */
diff --git a/driver/usb_switch_tsu6721.c b/driver/usb_switch_tsu6721.c
index 2b8d42c248..ad6329284f 100644
--- a/driver/usb_switch_tsu6721.c
+++ b/driver/usb_switch_tsu6721.c
@@ -13,7 +13,6 @@
#include "system.h"
#include "timer.h"
#include "tsu6721.h"
-#include "uart.h"
#include "util.h"
/* Console output macros */
diff --git a/test/powerdemo.c b/test/powerdemo.c
index 46bc3d8203..92a2fa5a95 100644
--- a/test/powerdemo.c
+++ b/test/powerdemo.c
@@ -10,7 +10,6 @@
#include "powerdemo.h"
#include "task.h"
#include "timer.h"
-#include "uart.h"
#include "registers.h"
static volatile enum {