efi: app: Use the relocated global_data
The new global_data is set up by the app but it never uses it. Switch to the new value after board_init_f(), so that the output of the 'meminfo' command is more contiguous. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -221,6 +221,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t image,
|
||||
printf("starting\n");
|
||||
|
||||
board_init_f(GD_FLG_SKIP_RELOC);
|
||||
gd = gd->new_gd;
|
||||
board_init_r(NULL, 0);
|
||||
free_memory(priv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user