summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/cpu_init.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-04-08 10:45:50 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-04-11 17:32:51 -0500
commitf3e04bdc3f360c66801a9048956e61e41a16edba (patch)
tree43b265689bcd9451bf2d4935ed61df76660fc466 /cpu/mpc85xx/cpu_init.c
parent950a392464e616b4590bc4501be46e2d7d162dea (diff)
downloadu-boot-imx-f3e04bdc3f360c66801a9048956e61e41a16edba.zip
u-boot-imx-f3e04bdc3f360c66801a9048956e61e41a16edba.tar.gz
u-boot-imx-f3e04bdc3f360c66801a9048956e61e41a16edba.tar.bz2
85xx: Use SVR_SOC_VER instead of SVR_VER
The recent change introduced by 'Update SVR numbers to expand support' now requires that we use SVR_SOC_VER instead of SVR_VER if we want to compare against a particular processor id. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/cpu_init.c')
-rw-r--r--cpu/mpc85xx/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/cpu_init.c b/cpu/mpc85xx/cpu_init.c
index fce0c48..e3240b5 100644
--- a/cpu/mpc85xx/cpu_init.c
+++ b/cpu/mpc85xx/cpu_init.c
@@ -272,7 +272,7 @@ int cpu_init_r(void)
uint l2srbar;
svr = get_svr();
- ver = SVR_VER(svr);
+ ver = SVR_SOC_VER(svr);
asm("msync;isync");
cache_ctl = l2cache->l2ctl;