Skip to content

Commit

Permalink
protos/linux: Remove unnecessary UEFI check
Browse files Browse the repository at this point in the history
  • Loading branch information
marv7000 committed Oct 18, 2024
1 parent c35b1ea commit dbb8693
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions common/protos/linux_risc.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,8 @@ void *prepare_device_tree_blob(char *config, char *cmdline) {
dtb = freadall(dtb_file, MEMMAP_BOOTLOADER_RECLAIMABLE);
fclose(dtb_file);
} else {
#if defined (UEFI)
// Hopefully 4K should be enough (mainly depends on the length of cmdline).
dtb = get_device_tree_blob(0x1000);
#else
break;
#endif
}

int ret;
Expand Down

0 comments on commit dbb8693

Please sign in to comment.