Fix boot of wandquad after DTS update
In the recent dts sync the name of the aips-bus@ changed to bus@. Reflect this change and add an additional OF_finddevice in fix_fdt_interrupt_data() and in fix_fdt_iomuxc_data() with bus@ only. Iow, keep the old naming for compatibility. Discussed with: ian@
This commit is contained in:
parent
36ba4b393f
commit
c76b8bda0b
@ -133,6 +133,8 @@ fix_fdt_interrupt_data(void)
|
||||
gpcnode = OF_finddevice("/soc/aips-bus@02000000/gpc@020dc000");
|
||||
if (gpcnode == -1)
|
||||
gpcnode = OF_finddevice("/soc/aips-bus@2000000/gpc@20dc000");
|
||||
if (gpcnode == -1)
|
||||
gpcnode = OF_finddevice("/soc/bus@2000000/gpc@20dc000");
|
||||
if (gpcnode == -1)
|
||||
return;
|
||||
result = OF_getencprop(gpcnode, "interrupt-parent", &gpcipar,
|
||||
@ -172,6 +174,8 @@ fix_fdt_iomuxc_data(void)
|
||||
* uses for register access.
|
||||
*/
|
||||
node = OF_finddevice("/soc/aips-bus@2000000/iomuxc-gpr@20e0000");
|
||||
if (node == -1)
|
||||
node = OF_finddevice("/soc/bus@2000000/iomuxc-gpr@20e0000");
|
||||
if (node != -1)
|
||||
OF_setprop(node, "status", "disabled", sizeof("disabled"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user