summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-09-12 14:25:31 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-09-14 12:08:32 -0700
commit2c760cf30b95715791eb43701b3d5536558b3a8d (patch)
tree70902377561991e55997c7215eaf71c1862f33b7 /include
parent17ad0ededbc33cd22324e622d7d01fac1fae3e3a (diff)
downloadchrome-ec-2c760cf30b95715791eb43701b3d5536558b3a8d.tar.gz
flash: Add CONFIG_FLASH_READOUT_PROTECTION config option
Instead of tying together CONFIG_WP_ALWAYS and RDP protection, separate the options. BRANCH=nocturne BUG=b:111330723 TEST=make buildall -j Change-Id: I905b573a900ef4dd0431666c525c951582143e09 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1222093 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 21d58a0ec7..6a241e81fa 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1441,6 +1441,11 @@
#undef CONFIG_FLASH_PSTATE_LOCKED
/*
+ * Enable readout protection.
+ */
+#undef CONFIG_FLASH_READOUT_PROTECTION
+
+/*
* For flash that is segemented in different regions.
*/
#undef CONFIG_FLASH_MULTIPLE_REGION