diff options
author | Wolfgang Denk <wd@denx.de> | 2009-10-24 22:26:09 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-24 22:26:09 +0200 |
commit | 922754cc82a82ac90e486b7565a148c9e4b6b584 (patch) | |
tree | 7f42bd45ddc7ba92343446af911a4ac5d71cc874 /cpu/arm_cortexa8/omap3/sys_info.c | |
parent | 4ee63268152594bb7af6bec2b59d53bba68082bf (diff) | |
parent | 4bc3d2afb380e78fdbb9c501d9a8da6d59eb178e (diff) |
Merge branch 'master-sync' of git://git.denx.de/u-boot-arm
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 765aaf2b37..31b20033cc 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; } |