diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-10 05:41:25 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-10 05:41:25 +0100 |
commit | 293e981e7452511a876431aa076c0eb256623124 (patch) | |
tree | c15e999a2f1c69cb193c5f1a1015bbc095dcd33d /common | |
parent | 056196ba04574d4f8cf11d92df09eb664a3e62dd (diff) | |
parent | 5451508c4ff5d8f1d0c115963508b2ca7120141a (diff) | |
download | barebox-293e981e7452511a876431aa076c0eb256623124.tar.gz barebox-293e981e7452511a876431aa076c0eb256623124.tar.xz |
Merge branch 'for-next/pci'
Diffstat (limited to 'common')
-rw-r--r-- | common/efi/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/efi/efi.c b/common/efi/efi.c index 73cea37036..ed81583550 100644 --- a/common/efi/efi.c +++ b/common/efi/efi.c @@ -361,7 +361,7 @@ efi_status_t efi_main(efi_handle_t image, efi_system_table_t *sys_table) if (EFI_ERROR(efiret)) panic("failed to allocate malloc pool: %s\n", efi_strerror(efiret)); - mem_malloc_init((void *)mem, (void *)mem + memsize); + mem_malloc_init((void *)mem, (void *)mem + memsize - 1); start_barebox(); |