]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
85xx: Use SVR_SOC_VER instead of SVR_VER
authorKumar Gala <galak@kernel.crashing.org>
Tue, 8 Apr 2008 15:45:50 +0000 (10:45 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 11 Apr 2008 22:32:51 +0000 (17:32 -0500)
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>
cpu/mpc85xx/cpu_init.c
cpu/mpc85xx/spd_sdram.c

index fce0c4805ad538142667f747c0db31e88da00f74..e3240b519ee8d5d44fe716d6a74edbcf88458565 100644 (file)
@@ -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;
index abc63c414bd70a3f937906262b84718151bc65e6..435458a18930b482394c79b458a397ef974c3dcd 100644 (file)
@@ -306,7 +306,7 @@ spd_sdram(void)
         * Adjust DDR II IO voltage biasing.
         * Only 8548 rev 1 needs the fix
         */
-       if ((SVR_VER(get_svr()) == SVR_8548_E) &&
+       if ((SVR_SOC_VER(get_svr()) == SVR_8548_E) &&
                        (SVR_MJREV(get_svr()) == 1) &&
                        (spd.mem_type == SPD_MEMTYPE_DDR2)) {
                volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);