Re: [PATCH 2/5] MIPS: Allow platforms to specify the decompressor load address

From: Arnd Bergmann
Date: Tue Feb 24 2015 - 03:15:26 EST


On Monday 23 February 2015 17:31:44 Andrew Bresticker wrote:
> Platforms which use raw zboot images may need to link the image at
> a fixed address if there is no other way to communicate the load
> address to the bootloader. Allow the per-platform Kbuild files
> to specify an optional zboot image load address (zload-y) and fall
> back to calc_vmlinuz_load_addr if unset.
>
> Signed-off-by: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
> Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>

No objections to the patch, but have you considered doing the
same thing as ARM's AUTO_ZRELADDR, where we calculate the
address at runtime from the entry point?

I assume this is the same kind of address you are talking
about here; if not, nevermind.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/