1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-31 06:37:56 +01:00
Files
u-boot-megous/cmd
Bryan O'Donoghue b225c92fd0 efi_loader: Change return type of efi_add_memory_map()
We currently have some inconsistent use of efi_add_memory_map()
throughout the code. In particular the return value of efi_add_memory_map()
is not interpreted the same way by various users in the codebase.

This patch does the following:

- Changes efi_add_memory_map() to return efi_status_t.
- Adds a method description to efi_add_memory_map().
- Changes efi_add_memory_map() to return EFI_SUCCESS
- Returns non-zero for error in efi_add_memory_map()
- Updates efi_allocate_pages() to new efi_add_memory_map()
- Updates efi_free_pages() to new efi_add_memory_map()
- Updates efi_carve_out_dt_rsv() to new efi_add_memory_map()
- Updates efi_add_runtime_mmio()  to new efi_add_memory_map()

Fixes: 5d00995c36 ("efi_loader: Implement memory allocation and map")
Fixes: 74c16acce3 ("efi_loader: Don't allocate from memory holes")
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Alexander Graf <agraf@csgraf.de>
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-07-16 22:17:17 +00:00
..
2019-04-22 12:06:39 -04:00
2019-04-22 12:06:39 -04:00
2019-04-22 12:06:39 -04:00
2017-02-08 15:56:28 -05:00
2018-08-11 09:16:08 +02:00
2019-05-18 08:15:35 -04:00
2017-07-03 17:35:28 -04:00
2019-05-21 07:52:34 +02:00
2018-05-23 17:30:05 -04:00
2019-05-09 16:47:52 +08:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2019-02-19 08:55:43 -05:00
2018-09-23 21:55:30 +02:00
2019-05-02 18:17:50 +02:00
2019-07-15 10:30:08 +08:00
2019-06-21 10:07:11 -04:00
2019-07-15 10:30:08 +08:00
2019-05-04 19:26:49 +02:00
2016-10-06 20:57:42 -04:00
2018-09-28 18:27:33 +02:00
2018-05-08 09:07:35 -04:00
2019-03-25 17:36:53 -04:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2018-09-28 20:22:36 -04:00
2019-04-12 07:04:18 +02:00
2018-07-02 14:14:20 -05:00
2019-01-15 15:28:44 -05:00