fsp/dump: Handle non-MPIPL scenario
If MPIPL is not enabled then we will not create `/ibm,opal/dump` node
and we should continue to parse/retrieve SYSDUMP. I missed this scenario
when I fixed similar issue last time :-(
Fixes: (fsp: Skip sysdump retrieval only in MPIPL boot)
@@ -830,11 +830,11 @@ static void check_ipl_sys_dump(void)
if (!opal_node)
return;
dump_node = dt_find_by_path(opal_node, "dump");
- if (!dump_node)
- return;
+ if (dump_node) {
if (dt_find_property(dump_node, "mpipl-boot"))
return;
}
+ }
dump_node = dt_find_by_path(dt_root, "ipl-params/platform-dump");
if (!dump_node)
