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

2019-01-24 Thread Tom Rini
On Thu, Jan 24, 2019 at 12:46:32PM +0100, Simon Goldschmidt wrote: > On Tue, Jan 22, 2019 at 11:10 PM 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 T

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

2019-01-24 Thread Simon Goldschmidt
On Tue, Jan 22, 2019 at 11:10 PM 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 prep

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

2019-01-23 Thread Adam Ford
On Tue, Jan 22, 2019 at 4:09 PM 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 prepr

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

2019-01-23 Thread Daniel Schwierzeck
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 t

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

2019-01-22 Thread 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 Cc: Fabio Estevam