summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-08-02 14:05:39 -0700
committerChromeBot <chrome-bot@google.com>2013-08-02 17:32:25 -0700
commit078dfabb68be3573185bffdd79ef0f079002ee1e (patch)
tree38d9d8b28127f383947838d8b99ec4ac5eb3e098 /core
parentc6dfa7e03b4c672e1031b4af9230b9da77e50f1a (diff)
downloadchrome-ec-078dfabb68be3573185bffdd79ef0f079002ee1e.tar.gz
Remove unneeded includes of registers.h
The registers.h file should only be included by code in the chip/ and board/ directories. Code outside those directories should not access chip-specific registers. (This change doesn't completely fix that, because common/extpower_usb.c uses STM32-specific regs, but we'll fix that in a separate CL.) BUG=chrome-os-partner:18343 BRANCH=none TEST=compile all platforms Change-Id: Ic499f56690c38663083423b0593800161a68e6e9 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64382 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/watchdog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/cortex-m/watchdog.c b/core/cortex-m/watchdog.c
index ff876912d1..8366f48d0a 100644
--- a/core/cortex-m/watchdog.c
+++ b/core/cortex-m/watchdog.c
@@ -7,7 +7,6 @@
#include "common.h"
#include "panic.h"
-#include "registers.h"
#include "task.h"
#include "timer.h"
#include "uart.h"