summaryrefslogtreecommitdiff
path: root/board/jerry
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2018-01-24 15:07:43 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-30 14:54:17 -0800
commit8d29b3dae79d48c67d796c3892185c17d84d074a (patch)
treedf043e57d22d09e4556b80d37e9c3133718b0be4 /board/jerry
parent9362b0620159acadc5f8231407acca746c1d2c39 (diff)
downloadchrome-ec-8d29b3dae79d48c67d796c3892185c17d84d074a.tar.gz
stm32: Fix bkpdata accounting
stm32f0 has 20 bytes (not 20 words) of VBAT-backed RAM. Make more efficient use of our limited storage to prevent trying to use storage that doesn't exist. BUG=b:71333840 BRANCH=None TEST=Negotiate PD, run "reboot" on scarlet EC console, verify reset path is taken in pd_partner_port_reset(). Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: Ie4c303b74a1b82b84ec971cdcc19c2b21a0032e7 Reviewed-on: https://chromium-review.googlesource.com/885461 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/jerry')
-rw-r--r--board/jerry/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/jerry/board.h b/board/jerry/board.h
index d595356db5..c453ba4e32 100644
--- a/board/jerry/board.h
+++ b/board/jerry/board.h
@@ -50,6 +50,7 @@
#undef CONFIG_CONSOLE_CMDHELP
#undef CONFIG_CONSOLE_HISTORY
+#undef CONFIG_SOFTWARE_PANIC
#undef CONFIG_WATCHDOG_HELP
#define CONFIG_HIBERNATE_WAKEUP_PINS (STM32_PWR_CSR_EWUP1 | STM32_PWR_CSR_EWUP6)