Heinrich Schuchardt b571b3acda efi_loader: fix efi_add_known_memory()
In efi_add_known_memory() we currently call board_get_usable_ram_top() with
an incorrect value 0 of parameter total_size. This leads to an incorrect
value for ram_top depending on the code in board_get_usable_ram_top().

Use the value of gd->ram_top instead which is set before relocation by
calling board_get_usable_ram_top().

Fixes: 7b78d6438a2b ("efi_loader: Reserve unaccessible memory")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-08-15 18:21:17 +02:00
..
2023-06-12 14:55:33 -04:00
2022-01-18 08:31:02 -05:00
2022-07-11 14:58:57 -04:00
2023-02-11 12:22:34 -05:00
2022-07-26 02:30:56 -06:00
2020-05-18 21:19:18 -04:00
2022-01-19 18:11:34 +01:00
2023-01-04 13:17:42 +01:00
2019-12-02 18:23:07 -05:00
2022-08-12 08:14:23 -04:00
2019-10-31 07:22:53 -04:00
2020-10-30 10:56:11 -04:00
2023-01-20 12:27:24 -05:00
2021-09-04 12:26:01 -04:00
2022-03-15 16:19:29 -04:00
2023-05-11 10:25:29 +08:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2023-01-16 18:01:10 +08:00
2021-07-14 16:57:35 -04:00
2020-05-18 21:19:18 -04:00
2020-08-24 14:11:31 -04:00
2022-10-27 09:10:08 -04:00
2023-02-11 12:22:34 -05:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2023-02-11 12:22:35 -05:00
2019-05-05 08:48:50 -04:00