Make sure we call becc_calibrate_delay() _after_ becc_vaddr is set up.
It happens to work otherwise when RedBoot leaves the timer running for us.
This commit is contained in:
parent
5c192de38a
commit
15f4f9e27a
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: brh_machdep.c,v 1.11 2003/05/17 23:46:59 thorpej Exp $ */
|
/* $NetBSD: brh_machdep.c,v 1.12 2003/05/21 02:38:29 briggs Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||||
|
@ -409,7 +409,6 @@ initarm(void *arg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Calibrate the delay loop. */
|
/* Calibrate the delay loop. */
|
||||||
becc_calibrate_delay();
|
|
||||||
becc_hardclock_hook = brh_hardclock_hook;
|
becc_hardclock_hook = brh_hardclock_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -711,6 +710,11 @@ initarm(void *arg)
|
||||||
*/
|
*/
|
||||||
becc_vaddr = BRH_BECC_VBASE;
|
becc_vaddr = BRH_BECC_VBASE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Now that we have becc_vaddr set, calibrate delay.
|
||||||
|
*/
|
||||||
|
becc_calibrate_delay();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BECC <= Rev7 can only address 64M through the inbound
|
* BECC <= Rev7 can only address 64M through the inbound
|
||||||
* PCI windows. Limit memory to 64M on those revs. (This
|
* PCI windows. Limit memory to 64M on those revs. (This
|
||||||
|
|
Loading…
Reference in New Issue