summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/chrp/chrp.h
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-29 04:46:19 +0400
committerPaul Mackerras <paulus@samba.org>2005-10-29 08:35:00 +0400
commit35e95e63995f3e52178db4b769120ce60deb6b54 (patch)
tree17e81624cd6af0cf645948a175160a62f29b07c8 /arch/powerpc/platforms/chrp/chrp.h
parent8b150478aeb1a8edb9015c2f7ac4da637ff65c45 (diff)
downloadlinux-35e95e63995f3e52178db4b769120ce60deb6b54.tar.xz
[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 000000000000..3a2057fa314a
--- /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);