summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-11-02 17:03:49 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-11-02 17:03:49 +0000
commit2e8da0dafe5bcbd6ae24a2acf6813ac7bb9a222f (patch)
tree0ddcbcc66cad93b8b393f180764ec8814f9b6b18 /src/arch
parent95e914781748db585186bb88ab88c02e4a97b8ca (diff)
new headers
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1242 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/ppc/include/clock.h9
-rw-r--r--src/arch/ppc/include/sdram.h9
2 files changed, 18 insertions, 0 deletions
diff --git a/src/arch/ppc/include/clock.h b/src/arch/ppc/include/clock.h
new file mode 100644
index 0000000000..3fe882a1fd
--- /dev/null
+++ b/src/arch/ppc/include/clock.h
@@ -0,0 +1,9 @@
+#ifndef _CLOCK_H
+#define _CLOCK_H
+
+/*
+ * Various clock routines.
+ */
+extern unsigned long get_clock_speed(void);
+extern unsigned long get_bus_freq(void);
+#endif /* _CLOCK_H */
diff --git a/src/arch/ppc/include/sdram.h b/src/arch/ppc/include/sdram.h
new file mode 100644
index 0000000000..d4bec80f4e
--- /dev/null
+++ b/src/arch/ppc/include/sdram.h
@@ -0,0 +1,9 @@
+#ifndef _SDRAM_H
+#define _SDRAM_H
+
+/*
+ * Provided for all PPC boards to to SDRAM initialization. This
+ * happens prior to entry into hardwaremain().
+ */
+extern void sdram_init(void);
+#endif /* _SDRAM_H */