diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-06-03 14:38:12 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-06-03 14:38:12 +0000 |
commit | 0dcb1729044fd5c537a07a71769fcba57ec1149c (patch) | |
tree | 835c2c63e2765630cd54654bf161b5f0230f9e21 /src/mainboard/motorola/sandpoint/clock.c | |
parent | 65046b16f90bea203ba5b8315c895b34d92bc3ac (diff) | |
download | coreboot-staging-0dcb1729044fd5c537a07a71769fcba57ec1149c.zip coreboot-staging-0dcb1729044fd5c537a07a71769fcba57ec1149c.tar.gz |
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
Diffstat (limited to 'src/mainboard/motorola/sandpoint/clock.c')
-rw-r--r-- | src/mainboard/motorola/sandpoint/clock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/motorola/sandpoint/clock.c b/src/mainboard/motorola/sandpoint/clock.c new file mode 100644 index 0000000..8effa8c --- /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; +} + |