[U-Boot] [PATCH 3/3] linker: Modify linker scripts to be more generic
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Wed Jan 23 17:21:22 UTC 2019
Am 22.01.19 um 23:09 schrieb Tom Rini:
> 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>
> ---
> arch/arm/cpu/arm1136/u-boot-spl.lds | 4 ++--
> arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds | 2 +-
> arch/arm/cpu/arm926ejs/orion5x/u-boot-spl.lds | 4 ++--
> arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds | 4 ++--
> arch/arm/cpu/armv7/sunxi/u-boot-spl.lds | 4 ++--
> arch/arm/cpu/armv8/u-boot-spl.lds | 4 ++--
> arch/arm/cpu/u-boot-spl.lds | 4 ++--
> arch/arm/mach-at91/arm926ejs/u-boot-spl.lds | 8 ++++----
> arch/arm/mach-at91/armv7/u-boot-spl.lds | 4 ++--
> arch/arm/mach-omap2/u-boot-spl.lds | 4 ++--
> arch/arm/mach-rockchip/Kconfig | 6 ------
> arch/arm/mach-rockchip/rk3288/u-boot-tpl.lds | 9 ---------
> arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds | 12 ------------
> arch/arm/mach-zynq/u-boot-spl.lds | 4 ++--
> arch/mips/cpu/u-boot-spl.lds | 4 ++--
> arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 6 +-----
> arch/x86/cpu/u-boot-spl.lds | 2 +-
> board/Barix/ipam390/u-boot-spl-ipam390.lds | 2 +-
> board/davinci/da8xxevm/u-boot-spl-da850evm.lds | 2 +-
> board/samsung/common/exynos-uboot-spl.lds | 2 +-
> common/spl/Kconfig | 2 ++
> scripts/Makefile.spl | 9 +++++++++
> 22 files changed, 41 insertions(+), 61 deletions(-)
> delete mode 100644 arch/arm/mach-rockchip/rk3288/u-boot-tpl.lds
> delete mode 100644 arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds
>
for MIPS:
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
Tested-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list