mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 06:33:03 +00:00
kboot: Look up SIO by alias
Signed-off-by: Martin Povišer <povik@cutebit.org>
This commit is contained in:
parent
1ba260c090
commit
8f8c3f903d
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue