When uploading an EFI binary via the UART we have to call
efi_set_bootdev() or we won't be able to execute it.
Put the includes into alphabetic order.
Fixes:
5f59518a7b1a ("efi_loader: setting boot device")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
#include <command.h>
#include <console.h>
#include <cpu_func.h>
#include <command.h>
#include <console.h>
#include <cpu_func.h>
#include <flash.h>
#include <image.h>
#include <flash.h>
#include <image.h>
#include <serial.h>
#include <xyzModem.h>
#include <asm/cache.h>
#include <serial.h>
#include <xyzModem.h>
#include <asm/cache.h>
+ if (IS_ENABLED(CONFIG_CMD_BOOTEFI))
+ efi_set_bootdev("Uart", "", "",
+ map_sysmem(offset, 0), size);
+
} else {
printf("%s\n", xyzModem_error(err));
}
} else {
printf("%s\n", xyzModem_error(err));
}