Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kumar Gala and committed by
Paul Mackerras
9d4ae9fc 96d5b52c

+2
+2
arch/powerpc/boot/Makefile
··· 35 35 36 36 BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) -I$(srctree)/$(src)/libfdt 37 37 38 + DTS_FLAGS ?= -p 1024 39 + 38 40 $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 39 41 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 40 42 $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405