aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_tpl.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-11-06 21:17:47 +0100
committerAlexander Graf <agraf@suse.de>2017-12-01 13:22:56 +0100
commit152cade32643fdbdd73614db4cfb159876b58262 (patch)
treeb123676006c7da81e12287da1364f7957ecb741b /lib/efi_selftest/efi_selftest_tpl.c
parent7e82449495eef28dddb6160385ab546eac212500 (diff)
downloadu-boot-152cade32643fdbdd73614db4cfb159876b58262.zip
u-boot-152cade32643fdbdd73614db4cfb159876b58262.tar.gz
u-boot-152cade32643fdbdd73614db4cfb159876b58262.tar.bz2
efi_loader: replace UINTN by efi_uintn_t
UINTN is used in the UEFI specification for unsigned integers matching the bitness of the CPU. Types in U-Boot should be lower case. The patch replaces it by efi_uintn_t. Suggested-by: Simon Glass <sjg@chromium.org> Suggested-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_selftest/efi_selftest_tpl.c')
-rw-r--r--lib/efi_selftest/efi_selftest_tpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_tpl.c b/lib/efi_selftest/efi_selftest_tpl.c
index ddb67ed..15d6290 100644
--- a/lib/efi_selftest/efi_selftest_tpl.c
+++ b/lib/efi_selftest/efi_selftest_tpl.c
@@ -113,7 +113,7 @@ static int execute(void)
{
size_t index;
efi_status_t ret;
- UINTN old_tpl;
+ efi_uintn_t old_tpl;
/* Set 10 ms timer */
notification_count = 0;