i.MX28: Improve passing of data from SPL to U-Boot
authorMarek Vasut <marex@denx.de>
Tue, 1 May 2012 11:09:44 +0000 (11:09 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:35 +0000 (08:31 +0200)
commit0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4
treeace53e94c3808eeb389d05163e7053aec5466bb0
parent9a0f98d39714f5d681ee541e88a91a59a4e5407f
i.MX28: Improve passing of data from SPL to U-Boot

Pass memory size from SPL via structure located in SRAM instead of SCRATCH
registers. This allows passing more data about boot from SPL to U-Boot, like the
boot mode pads configuration.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
arch/arm/cpu/arm926ejs/mx28/mx28.c
arch/arm/cpu/arm926ejs/mx28/mx28_init.h
arch/arm/cpu/arm926ejs/mx28/spl_boot.c
arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c
arch/arm/include/asm/arch-mx28/sys_proto.h