aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-26 18:58:11 +1000
committerPaul Mackerras <paulus@samba.org>2008-07-01 11:28:53 +1000
commit9d4ae9fc92f347b93b42c9c0ccde7138c1202e36 (patch)
tree271b5abb9ffbdb43bca627605ccafe52eec9b55d /arch
parent96d5b52c8473ae6ee63d592474bcc1255df06102 (diff)
downloadkernel_goldelico_gta04-9d4ae9fc92f347b93b42c9c0ccde7138c1202e36.zip
kernel_goldelico_gta04-9d4ae9fc92f347b93b42c9c0ccde7138c1202e36.tar.gz
kernel_goldelico_gta04-9d4ae9fc92f347b93b42c9c0ccde7138c1202e36.tar.bz2
powerpc/bootwrapper: Pad .dtb by default
Since most bootloaders or wrappers tend to update or add some information to the .dtb they a handled they need some working space to do that in. By default add 1K of padding via a default setting of DTS_FLAGS. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 4721baf..751a6e6 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -35,6 +35,8 @@ endif
BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) -I$(srctree)/$(src)/libfdt
+DTS_FLAGS ?= -p 1024
+
$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405