mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-15 15:06:04 -04:00
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>
This commit is contained in:
parent
950a392464
commit
f3e04bdc3f
@ -272,7 +272,7 @@ int cpu_init_r(void)
|
|||||||
uint l2srbar;
|
uint l2srbar;
|
||||||
|
|
||||||
svr = get_svr();
|
svr = get_svr();
|
||||||
ver = SVR_VER(svr);
|
ver = SVR_SOC_VER(svr);
|
||||||
|
|
||||||
asm("msync;isync");
|
asm("msync;isync");
|
||||||
cache_ctl = l2cache->l2ctl;
|
cache_ctl = l2cache->l2ctl;
|
||||||
|
@ -306,7 +306,7 @@ spd_sdram(void)
|
|||||||
* Adjust DDR II IO voltage biasing.
|
* Adjust DDR II IO voltage biasing.
|
||||||
* Only 8548 rev 1 needs the fix
|
* 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) &&
|
(SVR_MJREV(get_svr()) == 1) &&
|
||||||
(spd.mem_type == SPD_MEMTYPE_DDR2)) {
|
(spd.mem_type == SPD_MEMTYPE_DDR2)) {
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user