]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: mxs: Receive r0 and r1 passed from BootROM
authorMarek Vasut <marex@denx.de>
Sat, 31 Aug 2013 13:53:44 +0000 (15:53 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 10 Sep 2013 17:12:54 +0000 (19:12 +0200)
commit7b8657e2bd1ffc7a13793f18d0e069f3c9646356
treeb065e76fc545a336305446b98e750c7361f45ad6
parentd4c9135c96b21b74f39021763907efe32b025cc1
ARM: mxs: Receive r0 and r1 passed from BootROM

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@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/cpu/arm926ejs/mxs/start.S
arch/arm/include/asm/arch-mxs/sys_proto.h
board/bluegiga/apx4devkit/spl_boot.c
board/denx/m28evk/spl_boot.c
board/freescale/mx23evk/spl_boot.c
board/freescale/mx28evk/iomux.c
board/olimex/mx23_olinuxino/spl_boot.c
board/schulercontrol/sc_sps_1/spl_boot.c