diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/motorola/sandpoint/Config.lb | 8 | ||||
-rw-r--r-- | src/mainboard/motorola/sandpoint/clock.c | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/mainboard/motorola/sandpoint/Config.lb b/src/mainboard/motorola/sandpoint/Config.lb index 2bec5c4a31..711ddb2da8 100644 --- a/src/mainboard/motorola/sandpoint/Config.lb +++ b/src/mainboard/motorola/sandpoint/Config.lb @@ -29,7 +29,13 @@ default _IO_BASE=ISA_IO_BASE ## ## 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 diff --git a/src/mainboard/motorola/sandpoint/clock.c b/src/mainboard/motorola/sandpoint/clock.c new file mode 100644 index 0000000000..8effa8c511 --- /dev/null +++ b/src/mainboard/motorola/sandpoint/clock.c @@ -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; +} + |