commit | 0ed2e468d782fbf4607060aeeaed3a8a0ae8f453 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon May 18 14:08:24 2015 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 08 17:32:40 2015 -0400 |
tree | 7daaec4a73016b34d20749a00cdeebb4ea859df2 | |
parent | 83da3f1c0ff7d2cdafac62880b976fc36966cd50 [diff] |
autoboot.c: Add feature to stop autobooting via SHA256 encrypted password This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash and saved in the environment. This feature is enabled by defined these config options: CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_STOP_STR_SHA256 Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>