summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-01-26 00:41:31 +0000
committerVincent Palatin <vpalatin@chromium.org>2012-01-26 01:32:30 +0000
commit1008124533d54497793a2059475391fd5b7efa9d (patch)
tree113ca6db1c6c322fb95b699df42d2e5319e00f6f /common
parent4cca2932efc82208b93c7b02fae4ea6c2e4944cd (diff)
downloadchrome-ec-1008124533d54497793a2059475391fd5b7efa9d.tar.gz
Remove useless header includes
Preparatory work to introduce a second SoC : 2nd series 2/4 Avoid introducing platform specific dependencies in common files where they are not necessary. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=None TEST=build for BDS and Link Change-Id: If2ccd022e4956425222b55a5a48ca7522857e7f0
Diffstat (limited to 'common')
-rw-r--r--common/console.c1
-rw-r--r--common/main.c3
-rw-r--r--common/memory_commands.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/common/console.c b/common/console.c
index a5a3d6c103..eda49855a3 100644
--- a/common/console.c
+++ b/common/console.c
@@ -8,7 +8,6 @@
#include "console.h"
#include "task.h"
#include "uart.h"
-#include "registers.h"
#include "util.h"
#define MAX_ARGS_PER_COMMAND 10
diff --git a/common/main.c b/common/main.c
index 9fa1c0e7d6..293d591c2e 100644
--- a/common/main.c
+++ b/common/main.c
@@ -5,9 +5,6 @@
* Main routine for Chrome EC
*/
-#include "registers.h"
-#include "board.h"
-
#include "adc.h"
#include "clock.h"
#include "console.h"
diff --git a/common/memory_commands.c b/common/memory_commands.c
index 3a0a8ec83e..476aa92498 100644
--- a/common/memory_commands.c
+++ b/common/memory_commands.c
@@ -6,10 +6,8 @@
/* System module for Chrome EC */
#include "console.h"
-#include "registers.h"
#include "uart.h"
#include "util.h"
-#include "version.h"
static int command_write_word(int argc, char **argv)