summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/chrp/chrp.h
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 17:46:19 -0700
committerPaul Mackerras <paulus@samba.org>2005-10-29 14:35:00 +1000
commit35e95e63995f3e52178db4b769120ce60deb6b54 (patch)
tree17e81624cd6af0cf645948a175160a62f29b07c8 /arch/powerpc/platforms/chrp/chrp.h
parent8b150478aeb1a8edb9015c2f7ac4da637ff65c45 (diff)
[PATCH] ppc32: nvram driver for chrp
This implements a nvram acccess method, similar to arch/ppc64/kernel/pSeries_nvram.c tested on CHRP B50. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/chrp/chrp.h')
-rw-r--r--arch/powerpc/platforms/chrp/chrp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/chrp/chrp.h b/arch/powerpc/platforms/chrp/chrp.h
new file mode 100644
index 00000000000..3a2057fa314
--- /dev/null
+++ b/arch/powerpc/platforms/chrp/chrp.h
@@ -0,0 +1,12 @@
+/*
+ * Declarations of CHRP platform-specific things.
+ */
+
+extern void chrp_nvram_init(void);
+extern void chrp_get_rtc_time(struct rtc_time *);
+extern int chrp_set_rtc_time(struct rtc_time *);
+extern void chrp_calibrate_decr(void);
+extern long chrp_time_init(void);
+
+extern void chrp_find_bridges(void);
+extern void chrp_event_scan(void);