diff options
author | Simon Glass <sjg@chromium.org> | 2012-06-03 10:17:00 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-06-20 14:08:23 -0700 |
commit | 50ea753bbbd537fd38062899651027c185937be4 (patch) | |
tree | 3a39acd265b6673ad27e8fb96674f49e12c81731 | |
parent | 024c44cd96bf97e81d4d3af45a0f0cb0ef1425a0 (diff) | |
download | chrome-ec-50ea753bbbd537fd38062899651027c185937be4.tar.gz |
snow: Turn on CONFIG_PANIC_HELP
Add this option to make panics easier to decode.
Also put panics in a new stack for snow.
BUG=chrome-os-partner:10146
TEST=manual:
build for all boards
On snow, cause a panic and see that it is reported correctly.
Change-Id: If0b90ec0cec4ccb10041bd12bc21b342581e7f62
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/24506
-rw-r--r-- | board/snow/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/snow/board.h b/board/snow/board.h index a9c793a17c..92058ec3b0 100644 --- a/board/snow/board.h +++ b/board/snow/board.h @@ -17,6 +17,9 @@ /* use I2C for host communication */ #define CONFIG_I2C +#define CONFIG_PANIC_HELP +#define CONFIG_PANIC_NEW_STACK + /* 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 |