diff options
author | Tom Rini <trini@konsulko.com> | 2018-02-10 17:04:13 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-10 17:04:13 -0500 |
commit | f59ab6c659fc8c3abc3fdd85ce9279f7930256a7 (patch) | |
tree | b618c5d4b0573783591e61f2e16234c6846f016d /lib/efi_driver | |
parent | 1811a928c6c7604d6d05a84b4d552a7c31b4994e (diff) | |
parent | df9cf561b04dd3fc5a94f7a2c2500948ae8ba56b (diff) | |
download | u-boot-f59ab6c659fc8c3abc3fdd85ce9279f7930256a7.tar.gz |
Merge tag 'signed-efi-v2018.03' of git://github.com/agraf/u-boot
Patch queue for efi in 2018.03 - 2018-02-10
This time we have a few important bug fixes. Most noticable are:
- Fix OpenBSD loader with CONFIG_BLK=n
- Fix builds on various circumstances
- Add missing stubs so callers don't call NULL
- Bump UEFI revision to 2.7
Diffstat (limited to 'lib/efi_driver')
-rw-r--r-- | lib/efi_driver/efi_uclass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c index 90797f96d8..46b69b479c 100644 --- a/lib/efi_driver/efi_uclass.c +++ b/lib/efi_driver/efi_uclass.c @@ -287,10 +287,10 @@ out: * * @return 0 = success, any other value will stop further execution */ -int efi_driver_init(void) +efi_status_t efi_driver_init(void) { struct driver *drv; - int ret = 0; + efi_status_t ret = EFI_SUCCESS; /* Save 'gd' pointer */ efi_save_gd(); @@ -300,7 +300,7 @@ int efi_driver_init(void) drv < ll_entry_end(struct driver, driver); ++drv) { if (drv->id == UCLASS_EFI) { ret = efi_add_driver(drv); - if (ret) { + if (ret != EFI_SUCCESS) { printf("EFI: ERROR: failed to add driver %s\n", drv->name); break; |