arm: omap5: Fix generation of reserved-memory DT node
authorAndrew F. Davis <afd@ti.com>
Fri, 10 Feb 2017 14:23:23 +0000 (08:23 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 17 Feb 2017 19:15:12 +0000 (14:15 -0500)
commitbc1e0dd947875eba7d526e1551623f0c1458b565
treef75ab3725e989ed8f990cfdfbad39d82166c6af7
parent645cb46e2b6b446d10745662edba680ed36b5184
arm: omap5: Fix generation of reserved-memory DT node

When the node 'reserved-memory' is not defined in the DT we fail
to add needed properties. We also fail to move 'offs' to point to
the new node. Fix these here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/omap5/fdt.c