diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2017-02-21 14:39:52 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-23 11:36:21 -0800 |
commit | 4cbf0cc358a2983a76dc1d732cf158dc15de8629 (patch) | |
tree | 5e67e076d0c6ea0ee31f6e25d8f13089f96b0833 /include/software_panic.h | |
parent | 569b5e8f0f124f08e2c1e3cab27081dfff2e266c (diff) | |
download | chrome-ec-4cbf0cc358a2983a76dc1d732cf158dc15de8629.tar.gz |
stm32: add TRNG support
Add a driver for the STM32 True Random Number Generator.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=chrome-os-partner:62991
TEST=adhoc on STM32L, craft console command and generate/dump
buffers of random numbers.
Change-Id: Ie7ce890cfc36a3b9a277715b17051e3e42fdfc96
Reviewed-on: https://chromium-review.googlesource.com/445777
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/software_panic.h')
-rw-r--r-- | include/software_panic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/software_panic.h b/include/software_panic.h index 15070f95ed..4afc20b184 100644 --- a/include/software_panic.h +++ b/include/software_panic.h @@ -20,5 +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) #endif /* __CROS_EC_SOFTWARE_PANIC_H */ |