diff options
author | Nishanth Menon <nm@ti.com> | 2009-11-07 10:40:47 -0500 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-27 16:26:16 -0600 |
commit | 169a4c804dbaf11facb041b1333d394c6ceb8d68 (patch) | |
tree | a4906ac6cbb52715f0df831f8594c94921112875 /cpu | |
parent | 2819e1365be0c81a0141ef5c6a7996b40888f6d8 (diff) | |
download | u-boot-imx-169a4c804dbaf11facb041b1333d394c6ceb8d68.zip u-boot-imx-169a4c804dbaf11facb041b1333d394c6ceb8d68.tar.gz u-boot-imx-169a4c804dbaf11facb041b1333d394c6ceb8d68.tar.bz2 |
OMAP3:SDRC: Cleanup references to SDP
Remove SDP referenced unused defines
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm_cortexa8/omap3/mem.c | 2 | ||||
-rw-r--r-- | cpu/arm_cortexa8/omap3/sys_info.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm_cortexa8/omap3/mem.c b/cpu/arm_cortexa8/omap3/mem.c index 8b8cd6d..2c2d4f7 100644 --- a/cpu/arm_cortexa8/omap3/mem.c +++ b/cpu/arm_cortexa8/omap3/mem.c @@ -161,7 +161,7 @@ void do_sdrc_init(u32 cs, u32 early) writel(0, &sdrc_base->sysconfig); /* setup sdrc to ball mux */ - writel(SDP_SDRC_SHARING, &sdrc_base->sharing); + writel(SDRC_SHARING, &sdrc_base->sharing); /* Disable Power Down of CKE cuz of 1 CKE on combo part */ writel(SRFRONRESET | PAGEPOLICY_HIGH, &sdrc_base->power); diff --git a/cpu/arm_cortexa8/omap3/sys_info.c b/cpu/arm_cortexa8/omap3/sys_info.c index 31b2003..08fb32e 100644 --- a/cpu/arm_cortexa8/omap3/sys_info.c +++ b/cpu/arm_cortexa8/omap3/sys_info.c @@ -109,7 +109,7 @@ u32 get_cpu_rev(void) ****************************************************/ u32 is_mem_sdr(void) { - if (readl(&sdrc_base->cs[CS0].mr) == SDP_SDRC_MR_0_SDR) + if (readl(&sdrc_base->cs[CS0].mr) == SDRC_MR_0_SDR) return 1; return 0; } |