powerpc/boot: Allocate more memory for dtb
authorSebastian Siewior <bigeasy@linutronix.de>
Sat, 1 Nov 2008 10:00:56 +0000 (10:00 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 5 Nov 2008 22:49:43 +0000 (09:49 +1100)
commit5b4d2189446fd31cd618bbd1c24566b8d0ab11c8
tree4306cedd8875f48c95ae7224705128b56b86f466
parent7d4320f3d5ace5758111f2beac931376737f80f5
powerpc/boot: Allocate more memory for dtb

David Gibson suggested that since we are now unconditionally copying
the dtb into a malloc()ed buffer, it would be sensible to add a little
padding to the buffer at that point, so that further device tree
manipulations won't need to reallocate it.

This implements that suggestion.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/libfdt-wrapper.c