summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/opal.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-15 05:03:11 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 06:58:08 +0200
commit3fafe9c202321a3edc47386d2071af89555c9f45 (patch)
tree7a809f8ab83049c69468e4c0a64f1ef977934d6a /arch/powerpc/include/asm/opal.h
parentpowerpc/powernv: Add helper to get ibm,chip-id of a node (diff)
downloadlinux-3fafe9c202321a3edc47386d2071af89555c9f45.tar.xz
linux-3fafe9c202321a3edc47386d2071af89555c9f45.zip
powerpc/powernv: Add PIO accessors for Power8 LPC bus
This uses the hooks provided by CONFIG_PPC_INDIRECT_PIO to implement a set of hooks for IO port access to use the LPC bus via OPAL calls for the first 64K of IO space Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/opal.h')
-rw-r--r--arch/powerpc/include/asm/opal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index c701e2be73b1..48ad6780c6d9 100644
--- a/arch/powerpc/include/asm/opal.h
+++ b/arch/powerpc/include/asm/opal.h
@@ -687,6 +687,8 @@ extern int opal_machine_check(struct pt_regs *regs);
extern void opal_shutdown(void);
+extern void opal_lpc_init(void);
+
#endif /* __ASSEMBLY__ */
#endif /* __OPAL_H */