Message ID | 20180514100332.32990-3-aik@ozlabs.ru |
---|---|
State | Superseded |
Headers | show |
Series | fdt: Support more QEMU-originated phandles | expand |
On 14.05.2018 12:03, Alexey Kardashevskiy wrote: Please add some more patch description here: How do these properties look like? Do we feel confident enough that we can always use that generic replace function for these properties without risking to accidentally replacing the wrong values there? > Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> > --- > board-qemu/slof/fdt.fs | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/board-qemu/slof/fdt.fs b/board-qemu/slof/fdt.fs > index 5284ae6..51583bf 100644 > --- a/board-qemu/slof/fdt.fs > +++ b/board-qemu/slof/fdt.fs > @@ -307,6 +307,10 @@ fdt-claim-reserve > THEN > > 2dup s" interrupt-parent" r@ (fdt-replace-phandles) > + 2dup s" ibm,gpu" r@ (fdt-replace-phandles) > + 2dup s" ibm,npu" r@ (fdt-replace-phandles) > + 2dup s" memory-region" r@ (fdt-replace-phandles) > + > \ ... add more properties that have to be fixed here ... > r> > \ Now recurse over all child nodes: ( old new node ) > Thomas
diff --git a/board-qemu/slof/fdt.fs b/board-qemu/slof/fdt.fs index 5284ae6..51583bf 100644 --- a/board-qemu/slof/fdt.fs +++ b/board-qemu/slof/fdt.fs @@ -307,6 +307,10 @@ fdt-claim-reserve THEN 2dup s" interrupt-parent" r@ (fdt-replace-phandles) + 2dup s" ibm,gpu" r@ (fdt-replace-phandles) + 2dup s" ibm,npu" r@ (fdt-replace-phandles) + 2dup s" memory-region" r@ (fdt-replace-phandles) + \ ... add more properties that have to be fixed here ... r> \ Now recurse over all child nodes: ( old new node )
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- board-qemu/slof/fdt.fs | 4 ++++ 1 file changed, 4 insertions(+)