[U-Boot] [PATCH 3/5] ARM: mxs: Receive r0 and r1 passed from BootROM

Stefano Babic sbabic at denx.de
Tue Sep 10 19:18:32 CEST 2013


On 31/08/2013 15:53, Marek Vasut wrote:
> Make sure value in register r0 and r1 is preserved and passed to
> the board_init_ll() and mxs_common_spl_init() where it can be
> processed further. The value in r0 can be configured during the
> BootStream generation to arbitary value, r1 contains pointer to
> return value from CALL'd function.
> 
> This patch also clears the value in r0 before returning to BootROM
> to make sure the BootROM is not confused by this value.
> 
> Finally, this patch cleans up some comments in the start.S file.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic




-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list