|
@@ -863,7 +863,7 @@ ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz)
|
|
|
|
|
|
/*
|
|
/*
|
|
* The Linux header magic number for a EFI PE/COFF
|
|
* The Linux header magic number for a EFI PE/COFF
|
|
- * image targetting an unspecified architecture.
|
|
|
|
|
|
+ * image targeting an unspecified architecture.
|
|
*/
|
|
*/
|
|
#define EFI_PE_LINUX_MAGIC "\xcd\x23\x82\x81"
|
|
#define EFI_PE_LINUX_MAGIC "\xcd\x23\x82\x81"
|
|
|
|
|
|
@@ -1492,7 +1492,7 @@ RomGap rom_find_largest_gap_between(hwaddr base, size_t size)
|
|
if (rom->mr || rom->fw_file) {
|
|
if (rom->mr || rom->fw_file) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- /* ignore anything finishing bellow base */
|
|
|
|
|
|
+ /* ignore anything finishing below base */
|
|
if (rom->addr + rom->romsize <= base) {
|
|
if (rom->addr + rom->romsize <= base) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|