@@ -1572,7 +1572,8 @@ static int dt_vram_reserved_region(const char *dcp_alias, const char *disp_alias
15721572 disp_reserved_regions_vram , & region , 1 );
15731573}
15741574
1575- static int dt_reserve_asc_firmware (const char * adt_path , const char * fdt_path , bool remap )
1575+ static int dt_reserve_asc_firmware (const char * adt_path , const char * adt_path_alt ,
1576+ const char * fdt_path , bool remap )
15761577{
15771578 int ret = 0 ;
15781579
@@ -1583,6 +1584,8 @@ static int dt_reserve_asc_firmware(const char *adt_path, const char *fdt_path, b
15831584 }
15841585
15851586 int node = adt_path_offset (adt , adt_path );
1587+ if (node < 0 && adt_path_alt )
1588+ node = adt_path_offset (adt , adt_path_alt );
15861589 if (node < 0 )
15871590 bail ("ADT: '%s' not found\n" , adt_path );
15881591
@@ -2216,11 +2219,11 @@ int kboot_prepare_dt(void *fdt)
22162219 return -1 ;
22172220 if (dt_disable_missing_devs ("i2c" , "i2c@" , 8 ))
22182221 return -1 ;
2219- if (dt_reserve_asc_firmware ("/arm-io/sio" , "sio" , true))
2222+ if (dt_reserve_asc_firmware ("/arm-io/sio" , NULL , "sio" , true))
22202223 return -1 ;
22212224 if (dt_set_sio_fwdata ())
22222225 return -1 ;
2223- if (dt_reserve_asc_firmware ("/arm-io/isp" , "isp" , false))
2226+ if (dt_reserve_asc_firmware ("/arm-io/isp" , "/arm-io/isp0" , " isp" , false))
22242227 return -1 ;
22252228 if (dt_set_isp_fwdata ())
22262229 return -1 ;
0 commit comments