[PATCH] scripts/link-vmlinux.sh: correct base address for some ARM special cases

Arnd Bergmann arnd at arndb.de
Wed Feb 26 09:16:40 EST 2014


On Wednesday 26 February 2014 15:06:32 Uwe Kleine-König wrote:
> > It's more to the point.  The first hunk hides the "Memory split" option
> > which is irrelevent on !MMU.  We already know that PAGE_OFFSET should
> > be the same as PHYS_OFFSET for noMMU, so let's make that explicit.
> > Note that it already is by way of the bit in the last hunk - which as
> > a result of this change can now be removed... especially so as we have
> > nothing defining PAGE_OFFSET in arch/arm/*/include...
>
> Looks reasonable. Maybe we can also get rid of PLAT_PHYS_OFFSET then.

I think we still need PLAT_PHYS_OFFSET for the configurations that cannot
use ARM_PATCH_PHYS_VIRT, which are:

* Anything using XIP_KERNEL with MMU=y
* mach-realview with the custom __phys_to_virt hack
* ZBOOT_ROM

	Arnd



More information about the linux-arm-kernel mailing list