[U-Boot] [PATCH 1/3] spl: spi: override CONFIG_SYS_SPI_U_BOOT_OFFS via /config-property

Simon Glass sjg at chromium.org
Tue Apr 18 04:00:13 UTC 2017


On 17 April 2017 at 09:45, Philipp Tomsich <
philipp.tomsich at theobroma-systems.com> wrote:
> For the RK3399-Q7, we need some flexibility (depending on the feature
> set we include in the SPL stage and how large our SPI flash is) in
> positioning the SPL payload (i.e. the FIT image containing U-Boot, ATF
> and the M0 payload) in our SPI flash.
>
> To avoid having to deal with this through different U-Boot images, we
> introduce a the '/config/u-boot,spl-payload-offset' property node
> allow it to override the default setting.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
>
> ---
>
> common/spl/spl_spi.c | 15 ++++++++++++---
> 1 file changed, 12 insertions(+), 3 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list