powerpc/prom: Scan reserved-ranges node for memory reservations
authorJeremy Kerr <jk@ozlabs.org>
Wed, 24 Apr 2013 06:26:30 +0000 (14:26 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:11 +0000 (16:55 +1000)
commit0962e8004e97409072bb6caee7b3ba948a5fb93a
tree9fdf0269b2cb7a2ce2c1c36da33d1663ba4dce8f
parentd5d8ec895ca599fbde43efe3a2f9714315e3d298
powerpc/prom: Scan reserved-ranges node for memory reservations

Based on benh's proposal at
https://lists.ozlabs.org/pipermail/linuxppc-dev/2012-September/101237.html,
this change provides support for reserving memory from the
reserved-ranges node at the root of the device tree.

We just call memblock_reserve on these ranges for now.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom.c