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

Arnd Bergmann arnd at arndb.de
Wed Feb 26 09:02:50 EST 2014


On Wednesday 26 February 2014 13:53:52 Russell King - ARM Linux 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 good to me as well. I first wasn't sure about what this would do
for platforms that define their own PLAT_PHYS_OFFSET, but we they are
broken anyway if you set a DRAM_BASE that is not the same as
PLAT_PHYS_OFFSET.

	Arnd



More information about the linux-arm-kernel mailing list