From 50ea753bbbd537fd38062899651027c185937be4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 3 Jun 2012 10:17:00 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/24506 --- board/snow/board.h | 3 +++ 1 file changed, 3 insertions(+) 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