summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-06-26 16:28:59 -0700
committerGerrit <chrome-bot@google.com>2012-07-04 13:55:49 -0700
commit4ad3fb514a5d104769f3601ee00770e6164b2fdb (patch)
treef9d2010715f06b58ab191f11c2bffd23979335f8
parent63368620c55fdc66696885fb963a54d31ddb3b2d (diff)
downloadchrome-ec-4ad3fb514a5d104769f3601ee00770e6164b2fdb.tar.gz
Enable help debug features on all boards
This ensures that we have all available help enabled. For the moment this is useful for development. We may revisit later. BUG=chrome-os-partner:10895 TEST=manual: build for all boards Change-Id: I721e09995959638660ff417dd9420200e2e1a703 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/26173
-rw-r--r--board/bds/board.h5
-rw-r--r--board/daisy/board.h5
-rw-r--r--board/link/board.h5
-rw-r--r--board/snow/board.h2
4 files changed, 17 insertions, 0 deletions
diff --git a/board/bds/board.h b/board/bds/board.h
index 49a3fc94c4..7a32a6f602 100644
--- a/board/bds/board.h
+++ b/board/bds/board.h
@@ -8,6 +8,11 @@
#ifndef __BOARD_H
#define __BOARD_H
+/* Debug features */
+#define CONFIG_PANIC_HELP
+#define CONFIG_PANIC_NEW_STACK
+#define CONFIG_ASSERT_HELP
+
/* Optional features */
#define CONFIG_CONSOLE_CMDHELP
#define CONFIG_RW_B /* RW firmware A *and* B */
diff --git a/board/daisy/board.h b/board/daisy/board.h
index cc0d1eec10..e63dae697d 100644
--- a/board/daisy/board.h
+++ b/board/daisy/board.h
@@ -17,6 +17,11 @@
/* use I2C for host communication */
#define CONFIG_I2C
+/* Debug features */
+#define CONFIG_PANIC_HELP
+#define CONFIG_PANIC_NEW_STACK
+#define CONFIG_ASSERT_HELP
+
/* Allow dangerous commands all the time, since we don't have a write protect
* switch. */
/* TODO: (crosbug.com/p/9986) This is a serious security hole and should be
diff --git a/board/link/board.h b/board/link/board.h
index 7bcac35af5..e09f77b51a 100644
--- a/board/link/board.h
+++ b/board/link/board.h
@@ -8,6 +8,11 @@
#ifndef __BOARD_H
#define __BOARD_H
+/* Debug features */
+#define CONFIG_PANIC_HELP
+#define CONFIG_PANIC_NEW_STACK
+#define CONFIG_ASSERT_HELP
+
/* Optional features */
#define CONFIG_SMART_BATTERY
#define CONFIG_BATTERY_ATL706486
diff --git a/board/snow/board.h b/board/snow/board.h
index 1c9f0ca11e..2017404e19 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -17,12 +17,14 @@
/* use I2C for host communication */
#define CONFIG_I2C
+/* Debug features */
#define CONFIG_PANIC_HELP
#define CONFIG_PANIC_NEW_STACK
#define CONFIG_ASSERT_HELP
#define CONFIG_CONSOLE_CMDHELP
#define CONFIG_TASK_PROFILING
+#define CONFIG_WATCHDOG_HELP
/* Allow dangerous commands all the time, since we don't have a write protect
* switch. */