]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot: Don't change link address for OF-based platforms
authorPaul Mackerras <paulus@samba.org>
Tue, 29 Oct 2013 05:21:26 +0000 (16:21 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 05:00:17 +0000 (16:00 +1100)
commit12a5e08955f7824a38b020f173517f3bc4c29758
tree666cbd6f5c01ff50599805c41fb623a7d236f729
parent76c4c11545d9fa79f81d41e36b8088493ea2772f
powerpc/boot: Don't change link address for OF-based platforms

Commit 0b39fa550253 ("powerpc/boot: Change the load address for the
wrapper to fit the kernel") adjusts the wrapper address unnecessarily
for platforms that use arch/powerpc/boot/of.c, since the code there
allocates space for the kernel wherever it can find it and doesn't
necessarily load the kernel at address 0.  Changing the link address
is actually harmful since it can cause the zImage to overlap with
Open Firmware and thus fail to boot.

To fix this, we set make_space to n for all of the platforms that
use of.o.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/wrapper