diff options
| author | Marek Vasut <[email protected]> | 2012-05-01 11:09:44 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2012-05-15 08:31:35 +0200 |
| commit | 0239c2fb4a24f99e7d63d7ec0be04a05f0b895f4 (patch) | |
| tree | ace53e94c3808eeb389d05163e7053aec5466bb0 /arch/arm/include | |
| parent | 9a0f98d39714f5d681ee541e88a91a59a4e5407f (diff) | |
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 <[email protected]>
Cc: Detlev Zundel <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/arch-mx28/sys_proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx28/sys_proto.h b/arch/arm/include/asm/arch-mx28/sys_proto.h index 15d8de31ee9..04f2e4db3c6 100644 --- a/arch/arm/include/asm/arch-mx28/sys_proto.h +++ b/arch/arm/include/asm/arch-mx28/sys_proto.h @@ -39,6 +39,10 @@ void mx28_common_spl_init(const iomux_cfg_t *iomux_setup, const unsigned int iomux_size); #endif +struct mx28_spl_data { + uint32_t mem_dram_size; +}; + int mx28_dram_init(void); #endif /* __MX28_H__ */ |
