diff options
author | Eugeniu Rosca <roscaeugeniu@gmail.com> | 2018-07-14 22:53:31 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-08-21 00:03:56 +0200 |
commit | c3a40cce2a9765de6776e2c099d59879e49dfe4b (patch) | |
tree | 48203ebdc74eef77f36bb8793b19111cc8a30ab7 /cmd/efi.c | |
parent | 9b89183b97f3d906a8df1050707d48a74e35caed (diff) | |
download | u-boot-c3a40cce2a9765de6776e2c099d59879e49dfe4b.tar.gz u-boot-c3a40cce2a9765de6776e2c099d59879e49dfe4b.tar.bz2 u-boot-c3a40cce2a9765de6776e2c099d59879e49dfe4b.zip |
efi: Add EFI_MEMORY_{NV, MORE_RELIABLE, RO} attributes
With this update, the memory attributes are in sync with Linux
kernel v4.18-rc4. They also match page 190 of UEFI 2.7 spec [1].
[1] http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/efi.c')
-rw-r--r-- | cmd/efi.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,6 +39,9 @@ static struct attr_info { { EFI_MEMORY_WP, "write-protect" }, { EFI_MEMORY_RP, "read-protect" }, { EFI_MEMORY_XP, "execute-protect" }, + { EFI_MEMORY_NV, "non-volatile" }, + { EFI_MEMORY_MORE_RELIABLE, "higher reliability" }, + { EFI_MEMORY_RO, "read-only" }, { EFI_MEMORY_RUNTIME, "needs runtime mapping" } }; |