summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-07-15 15:51:19 -0700
committerChromeBot <chrome-bot@google.com>2013-07-16 12:06:30 -0700
commit873e4425c5e27be3019b0ca47251e6fb94715bd3 (patch)
tree8b86b3dc1d766672b9fe370a72ad6a6f0ef74051 /test
parentf8955d14b6ec61ac35b1f7d0bd6ecf6decf6b214 (diff)
downloadchrome-ec-873e4425c5e27be3019b0ca47251e6fb94715bd3.tar.gz
Remove unneeded direct includes of board.h and config.h
Both of these are included via common.h, which is in turn included by most other header files. Directly including board.h or config.h is redundant and discouraged. No code changes, just removing #includes. This is in preparation for making a top-level config.h file, but that change will be easier to review if it doesn't touch as many files. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: I204bcebe5607c6e6808821eb071cfc31d2a93a7c Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/62121 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/flash.c1
-rw-r--r--test/stress.c1
-rw-r--r--test/thermal.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/flash.c b/test/flash.c
index 73c4a95683..9bc5ddca61 100644
--- a/test/flash.c
+++ b/test/flash.c
@@ -5,7 +5,6 @@
/* Console commands to trigger flash host commands */
-#include "board.h"
#include "console.h"
#include "ec_commands.h"
#include "flash.h"
diff --git a/test/stress.c b/test/stress.c
index e1a75f39b1..d5c6f3a901 100644
--- a/test/stress.c
+++ b/test/stress.c
@@ -5,7 +5,6 @@
/* Peripheral stress tests */
-#include "board.h"
#include "console.h"
#include "ec_commands.h"
#include "i2c.h"
diff --git a/test/thermal.c b/test/thermal.c
index e047a64486..485e19bfb5 100644
--- a/test/thermal.c
+++ b/test/thermal.c
@@ -5,7 +5,6 @@
* Test thermal engine.
*/
-#include "board.h"
#include "common.h"
#include "console.h"
#include "hooks.h"