|
@@ -202,9 +202,10 @@ unsigned long efi_entry(void *handle, efi_system_table_t *sys_table,
|
|
* 'dtb=' unless UEFI Secure Boot is disabled. We assume that secure
|
|
* 'dtb=' unless UEFI Secure Boot is disabled. We assume that secure
|
|
* boot is enabled if we can't determine its state.
|
|
* boot is enabled if we can't determine its state.
|
|
*/
|
|
*/
|
|
- if (secure_boot != efi_secureboot_mode_disabled &&
|
|
|
|
- strstr(cmdline_ptr, "dtb=")) {
|
|
|
|
- pr_efi(sys_table, "Ignoring DTB from command line.\n");
|
|
|
|
|
|
+ if (!IS_ENABLED(CONFIG_EFI_ARMSTUB_DTB_LOADER) ||
|
|
|
|
+ secure_boot != efi_secureboot_mode_disabled) {
|
|
|
|
+ if (strstr(cmdline_ptr, "dtb="))
|
|
|
|
+ pr_efi(sys_table, "Ignoring DTB from command line.\n");
|
|
} else {
|
|
} else {
|
|
status = handle_cmdline_files(sys_table, image, cmdline_ptr,
|
|
status = handle_cmdline_files(sys_table, image, cmdline_ptr,
|
|
"dtb=",
|
|
"dtb=",
|