Skip to content

Commit

Permalink
kboot: Look up SIO by alias
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Povišer <[email protected]>
  • Loading branch information
povik authored and marcan committed Aug 17, 2023
1 parent 1ba260c commit 8f8c3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ static int dt_set_display(void)

static int dt_set_sio_fwdata(void)
{
const char *path = "/soc/sio";
const char *path = "sio";

int node = fdt_path_offset(dt, path);
if (node < 0) {
Expand Down Expand Up @@ -2097,7 +2097,7 @@ int kboot_prepare_dt(void *fdt)
return -1;
if (dt_disable_missing_devs("i2c", "i2c@", 8))
return -1;
if (dt_reserve_asc_firmware("/arm-io/sio", "/soc/sio"))
if (dt_reserve_asc_firmware("/arm-io/sio", "sio"))
return -1;
if (dt_set_sio_fwdata())
return -1;
Expand Down

0 comments on commit 8f8c3f9

Please sign in to comment.