From 4ad3fb514a5d104769f3601ee00770e6164b2fdb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 26 Jun 2012 16:28:59 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/26173 --- board/bds/board.h | 5 +++++ board/daisy/board.h | 5 +++++ board/link/board.h | 5 +++++ board/snow/board.h | 2 ++ 4 files changed, 17 insertions(+) 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. */