diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-12-15 10:00:43 -0800 |
---|---|---|
committer | Stefan Reinauer <reinauer@chromium.org> | 2011-12-15 10:48:59 -0800 |
commit | 2151d14555ad0e7c2c850195de6fbe89f95001fb (patch) | |
tree | b76130b7088cb369e3cd037c09a85a424cd83535 /lib | |
parent | 545be104f4427e1485f3651128e02611398ffb2e (diff) |
x86: Conditionally load environment based on device tree
u-boot would load the environment from flash unconditionally
on x86. This is a security issue when booting ChromeOS in normal mode.
Add a function that looks at the device tree variable load_env to
determine whether to load it.
Signed-off-by: Stefan Reinauer <reinauer@google.com>
BUG=none
TEST=boot tested on Stumpy
Change-Id: I7e4655e151b7421ec8ff9d0ce40b6de17bfede5d
Reviewed-on: https://gerrit.chromium.org/gerrit/12987
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions