summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/config.h3
-rw-r--r--include/software_panic.h1
-rw-r--r--include/trng.h10
3 files changed, 0 insertions, 14 deletions
diff --git a/include/config.h b/include/config.h
index 3ec133bd58..523bf2045b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2844,9 +2844,6 @@
*/
#undef CONFIG_RMA_AUTH_USE_P256
-/* Enable hardware Random Number generator support */
-#undef CONFIG_RNG
-
/* Support verifying 2048-bit RSA signature */
#undef CONFIG_RSA
diff --git a/include/software_panic.h b/include/software_panic.h
index 99205f02c3..b4f397e6bb 100644
--- a/include/software_panic.h
+++ b/include/software_panic.h
@@ -20,7 +20,6 @@
#define PANIC_SW_PD_CRASH (PANIC_SW_BASE + 2)
#define PANIC_SW_ASSERT (PANIC_SW_BASE + 3)
#define PANIC_SW_WATCHDOG (PANIC_SW_BASE + 4)
-#define PANIC_SW_BAD_RNG (PANIC_SW_BASE + 5)
#define PANIC_SW_PMIC_FAULT (PANIC_SW_BASE + 6)
#endif /* __CROS_EC_SOFTWARE_PANIC_H */
diff --git a/include/trng.h b/include/trng.h
index cea4555b41..bc59425eab 100644
--- a/include/trng.h
+++ b/include/trng.h
@@ -17,16 +17,6 @@
void init_trng(void);
/**
- * Shutdown the true random number generator.
- *
- * The opposite operation of init_trng(), disable the hardware resources
- * used by the TRNG to save power.
- *
- * Not supported by all platforms.
- **/
-void exit_trng(void);
-
-/**
* Retrieve a 32 bit random value.
*
* Not supported on all platforms.