Clock (not timer) routines are board specific. Moved from mpc74xx dir.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1591 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
65046b16f9
commit
0dcb172904
|
@ -29,7 +29,13 @@ default _IO_BASE=ISA_IO_BASE
|
||||||
##
|
##
|
||||||
## Early board initialization, called from ppc_main()
|
## Early board initialization, called from ppc_main()
|
||||||
##
|
##
|
||||||
initobject init.c
|
initobject init.o
|
||||||
|
initobject clock.o
|
||||||
|
|
||||||
|
##
|
||||||
|
## Stage 2 timer support
|
||||||
|
##
|
||||||
|
object clock.o
|
||||||
|
|
||||||
##
|
##
|
||||||
## Set our ARCH
|
## Set our ARCH
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
/* Copyright 2000 AG Electronics Ltd. */
|
||||||
|
/* This code is distributed without warranty under the GPL v2 (see COPYING) */
|
||||||
|
|
||||||
|
#include <ppc.h>
|
||||||
|
|
||||||
|
unsigned long get_clock_speed(void)
|
||||||
|
{
|
||||||
|
return 100000000 / 4;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue