summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames_chao <james_chao@asus.com>2017-11-07 19:39:15 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-11-08 04:06:54 +0000
commitaa586960f1a4db780b8eb151384385b6698d397a (patch)
tree76b6d1bc225c115a890742d53c7d3156e997e249
parentcd438f5e851b83fcab53cbfc57868bddc7896d07 (diff)
downloadchrome-ec-aa586960f1a4db780b8eb151384385b6698d397a.tar.gz
Bob: Disable MPU locking
Port changes cl/413584 to bob. Our RAM / code regions aren't a power of 2, so we cannot program MPU to precisely protect the regions we desire. Shawn N opened crbug.com/782244, this issue will be fix soon, but the changes will not backporting to this branch due to stability concerns. So just add the #undef to Board bob to avoid the error message. BUG=chrome-os-partner:57789 BRANCH=gru TEST=`make buildall -j`, then burn + boot to OS. Change-Id: Ibdbe494f6d98319c88577345c2c100e6a7946e30 Signed-off-by: james_chao <james_chao@asus.com> Reviewed-on: https://chromium-review.googlesource.com/756954 Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/bob/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/bob/board.h b/board/bob/board.h
index d756c7040a..039f735fca 100644
--- a/board/bob/board.h
+++ b/board/bob/board.h
@@ -45,6 +45,8 @@
#define CONFIG_RAM_BASE (0x200C0000 + RAM_SHIFT_SIZE)
#undef CONFIG_RAM_SIZE
#define CONFIG_RAM_SIZE (0x00008000 - 0x800 - RAM_SHIFT_SIZE)
+/* crbug.com/782244: CONFIG_MPU only supports power-of-2 region size */
+#undef CONFIG_MPU
/* Optional features */
#define CONFIG_BOARD_VERSION