diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-09-02 07:11:45 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-09-04 12:03:57 +0200 |
commit | 7219856daee8cd28872d2f7ef7405704af07bd7d (patch) | |
tree | c4c7de1a34eae50090b872d09e763be7e4158bbf /drivers/ddr/microchip/ddr2_regs.h | |
parent | b191aa429e509ba6bf9eb446ae27b1a4fcd83276 (diff) |
efi_loader: correct determination of secure boot state
When U-Boot is started we have to use the existing variables to determine
in which secure boot state we are.
* If a platform key PK is present and DeployedMode=1, we are in deployed
mode.
* If no platform key PK is present and AuditMode=1, we are in audit mode.
* Otherwise if a platform key is present, we are in user mode.
* Otherwise if no platform key is present, we are in setup mode.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions