From aa586960f1a4db780b8eb151384385b6698d397a Mon Sep 17 00:00:00 2001 From: james_chao Date: Tue, 7 Nov 2017 19:39:15 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/756954 Reviewed-by: Shawn N --- board/bob/board.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1