summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2017-08-01 12:41:13 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-08-08 14:29:05 +0000
commit014980baf503a6b3d37f9cc267b2bd505d8666b2 (patch)
treeb1fdf08ee571cd0955c997429b791326f0105556 /board
parentc9a8e362a1a4303e02cde6b359cc96153e5c374c (diff)
downloadchrome-ec-014980baf503a6b3d37f9cc267b2bd505d8666b2.tar.gz
npcx: Define CONFIG_DATA_RAM_SIZE
This patch defines CONFIG_DATA_RAM_SIZE, which indicates the size of the RAM used for data, thus can be marked as non-executable. If it's not defined, it defaults to CONFIG_RAM_SIZE. Thus, other chips are not affected. BUG=b:36037354 BRANCH=none TEST=buildall. Run 'sysjump disable' on Reef and verify mpu_protect_ram is successful. Change-Id: Ib0e55cceb5f04b7ac66364ff6dbc76d9d57fb11d Signed-off-by: Duncan Laurie <dlaurie@google.com> Original-Commit-Id: 5f72f0a085f4b3063e119d629fe3b20c4961317f Original-Change-Id: I54d74fd1dabff7e1013fff2542fd02c3646803d1 Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/596518 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/605932
Diffstat (limited to 'board')
-rw-r--r--board/reef/board.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/reef/board.h b/board/reef/board.h
index c9d5b15f86..3bc684a450 100644
--- a/board/reef/board.h
+++ b/board/reef/board.h
@@ -125,8 +125,6 @@
#undef CONFIG_EXTPOWER_DEBOUNCE_MS
#define CONFIG_EXTPOWER_DEBOUNCE_MS 1000
#define CONFIG_FPU
-/* Region sizes are not a power of 2 so we can't use MPU */
-#undef CONFIG_MPU
#define CONFIG_HOSTCMD_FLASH_SPI_INFO
#define CONFIG_I2C
#define CONFIG_I2C_MASTER