[U-Boot] [U-Boot, 3/3] linker: Modify linker scripts to be more generic

Tom Rini trini at konsulko.com
Mon Jan 28 15:19:05 UTC 2019


On Tue, Jan 22, 2019 at 05:09:26PM -0500, Tom Rini wrote:

> Make use of "IMAGE_MAX_SIZE" and "IMAGE_TEXT_BASE" rather than
> CONFIG_SPL_MAX_SIZE and CONFIG_SPL_TEXT_BASE.  This lets us re-use the
> same script for both SPL and TPL.  Add logic to scripts/Makefile.spl to
> pass in the right value when preprocessing the script.
> 
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Jagan Teki <jagan at openedev.com>
> Cc: Maxime Ripard <maxime.ripard at bootlin.com>
> Cc: Andreas Bießmann <andreas at biessmann.org>
> Cc: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Cc: Michal Simek <monstr at monstr.eu>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Cc: York Sun <york.sun at nxp.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Adam Ford <aford173 at gmail.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Tested-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Tested-by: Adam Ford <aford173 at gmail.com> #da850evm & omap3_logic_somlv
> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

After some ugly hacks to buildman to save off linker scripts so I could
diff before/after:

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190128/ea0d3a51/attachment.sig>


More information about the U-Boot mailing list