summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
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 */