diff options
author | Sandeep Paulraj <s-paulraj@ti.com> | 2009-09-09 11:50:40 -0400 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-18 16:52:52 -0500 |
commit | 9c44ddccb6602f620fc037974f3e4468ad8a7c0c (patch) | |
tree | b7b2b21f9291dd4551050638e5ae692423a7ebfd /cpu/arm_cortexa8/omap3/sys_info.c | |
parent | 13d2cb988ff07addce6e10ab2cb8965a9dd23c63 (diff) | |
download | u-boot-imx-9c44ddccb6602f620fc037974f3e4468ad8a7c0c.zip u-boot-imx-9c44ddccb6602f620fc037974f3e4468ad8a7c0c.tar.gz u-boot-imx-9c44ddccb6602f620fc037974f3e4468ad8a7c0c.tar.bz2 |
TI: OMAP3: Remove SZ_xx references
This patch removes dependency on the sizes.h header file
and removes all references to SZ_xx.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'cpu/arm_cortexa8/omap3/sys_info.c')
-rw-r--r-- | cpu/arm_cortexa8/omap3/sys_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/omap3/sys_info.c b/cpu/arm_cortexa8/omap3/sys_info.c index 765aaf2..31b2003 100644 --- a/cpu/arm_cortexa8/omap3/sys_info.c +++ b/cpu/arm_cortexa8/omap3/sys_info.c @@ -124,7 +124,7 @@ u32 get_sdr_cs_size(u32 cs) /* get ram size field */ size = readl(&sdrc_base->cs[cs].mcfg) >> 8; size &= 0x3FF; /* remove unwanted bits */ - size *= SZ_2M; /* find size in MB */ + size <<= 21; /* multiply by 2 MiB to find size in MB */ return size; } |