mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
x86: image: Add new image type for x64_64
This is a bit odd in that we are permitted to boot images for either, even though they are separate architectures. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -1114,7 +1114,8 @@ int fit_image_check_arch(const void *fit, int noffset, uint8_t arch)
|
||||
|
||||
if (fit_image_get_arch(fit, noffset, &image_arch))
|
||||
return 0;
|
||||
return (arch == image_arch);
|
||||
return (arch == image_arch) ||
|
||||
(arch == IH_ARCH_I386 && image_arch == IH_ARCH_X86_64);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user