summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/hammer/board.h1
-rw-r--r--board/prism/board.h1
-rw-r--r--include/config.h8
3 files changed, 2 insertions, 8 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h
index 5d7b912ff2..d5ab4699ac 100644
--- a/board/hammer/board.h
+++ b/board/hammer/board.h
@@ -313,6 +313,7 @@
/*
* Add rollback protection, and independent RW region protection.
*/
+#define CONFIG_LIBCRYPTOC
#define CONFIG_ROLLBACK
#define CONFIG_ROLLBACK_SECRET_SIZE 32
#define CONFIG_ROLLBACK_SECRET_LOCAL_ENTROPY_SIZE 32
diff --git a/board/prism/board.h b/board/prism/board.h
index 42768de2e7..c4bf4de58e 100644
--- a/board/prism/board.h
+++ b/board/prism/board.h
@@ -184,6 +184,7 @@
/*
* Add rollback protection, and independent RW region protection.
*/
+#define CONFIG_LIBCRYPTOC
#define CONFIG_ROLLBACK
#define CONFIG_ROLLBACK_SECRET_SIZE 32
#define CONFIG_ROLLBACK_SECRET_LOCAL_ENTROPY_SIZE 32
diff --git a/include/config.h b/include/config.h
index 024c4f0fe2..06d97d358d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -6437,14 +6437,6 @@
/*****************************************************************************/
/*
- * Define CONFIG_LIBCRYPTOC if a board needs to read secret data from the
- * anti-rollback block.
- */
-#ifdef CONFIG_ROLLBACK_SECRET_SIZE
-#define CONFIG_LIBCRYPTOC
-#endif
-
-/*
* Handle task-dependent configs.
*
* This prevent sub-modules from being compiled when the task and parent module