summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mx28/mx28_init.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-05-01 11:09:44 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:35 +0200
commit0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4 (patch)
treeace53e94c3808eeb389d05163e7053aec5466bb0 /arch/arm/cpu/arm926ejs/mx28/mx28_init.h
parent9a0f98d39714f5d681ee541e88a91a59a4e5407f (diff)
downloadu-boot-imx-0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4.zip
u-boot-imx-0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4.tar.gz
u-boot-imx-0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4.tar.bz2
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>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx28/mx28_init.h')
-rw-r--r--arch/arm/cpu/arm926ejs/mx28/mx28_init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx28/mx28_init.h b/arch/arm/cpu/arm926ejs/mx28/mx28_init.h
index 98d3631..8eac958 100644
--- a/arch/arm/cpu/arm926ejs/mx28/mx28_init.h
+++ b/arch/arm/cpu/arm926ejs/mx28/mx28_init.h
@@ -37,5 +37,6 @@ static inline void mx28_power_wait_pswitch(void) { }
#endif
void mx28_mem_init(void);
+uint32_t mx28_mem_get_size(void);
#endif /* __M28_INIT_H__ */