diff options
author | Simon Glass <sjg@chromium.org> | 2012-06-26 16:28:59 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-04 13:55:49 -0700 |
commit | 4ad3fb514a5d104769f3601ee00770e6164b2fdb (patch) | |
tree | f9d2010715f06b58ab191f11c2bffd23979335f8 /board | |
parent | 63368620c55fdc66696885fb963a54d31ddb3b2d (diff) | |
download | chrome-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
Diffstat (limited to 'board')
-rw-r--r-- | board/bds/board.h | 5 | ||||
-rw-r--r-- | board/daisy/board.h | 5 | ||||
-rw-r--r-- | board/link/board.h | 5 | ||||
-rw-r--r-- | board/snow/board.h | 2 |
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. */ |