diff options
| author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-10-23 10:57:48 +0000 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:15:40 +0100 | 
| commit | eb0344d9746103f4c1d61e05630ee4e6e61334ea (patch) | |
| tree | c8e9784eae50f88c668deabb5123af1abfcfb545 /arch/arm/include/asm/arch-mx5/sys_proto.h | |
| parent | 5ea6d7c8fc05ad73d930a6fdb430188ff17a70e5 (diff) | |
| download | olio-uboot-2014.01-eb0344d9746103f4c1d61e05630ee4e6e61334ea.tar.xz olio-uboot-2014.01-eb0344d9746103f4c1d61e05630ee4e6e61334ea.zip | |
imx-common: cpu: add imx_ddr_size
Read memory setup registers to determine size
of available ram. This routine works for mx53/mx6x
I need this because when mx6solo called get_ram_size
with a too large maximum size, the system hanged.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx5/sys_proto.h')
| -rw-r--r-- | arch/arm/include/asm/arch-mx5/sys_proto.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/arch/arm/include/asm/arch-mx5/sys_proto.h b/arch/arm/include/asm/arch-mx5/sys_proto.h index 4435be1ee..93ad1c6b3 100644 --- a/arch/arm/include/asm/arch-mx5/sys_proto.h +++ b/arch/arm/include/asm/arch-mx5/sys_proto.h @@ -33,6 +33,7 @@  #define is_soc_rev(rev)	((get_cpu_rev() & 0xFF) - rev)  u32 get_cpu_rev(void); +unsigned imx_ddr_size(void);  void sdelay(unsigned long);  void set_chipselect_size(int const); |