summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2014-12-09 17:43:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-12 05:04:13 -0800
commitfbc4a8a85777e065f7a195ddc58b3245808f1e87 (patch)
tree8bacc3572b40cb97e6cc1c5295a01d9021ad0c93 /arch/powerpc
parent02b03846bb2befc558bfd0665749d6bb26f4c2f1 (diff)
downloadblackbird-op-linux-fbc4a8a85777e065f7a195ddc58b3245808f1e87.tar.gz
blackbird-op-linux-fbc4a8a85777e065f7a195ddc58b3245808f1e87.zip
uio: uio_fsl_elbc_gpcm: new driver
This driver provides UIO access to memory of a peripheral connected to the Freescale enhanced local bus controller (eLBC) interface using the general purpose chip-select mode (GPCM). Signed-off-by: John Ogness <john.ogness@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/fsl_lbc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h
index 067fb0dca549..c7240a024b96 100644
--- a/arch/powerpc/include/asm/fsl_lbc.h
+++ b/arch/powerpc/include/asm/fsl_lbc.h
@@ -95,6 +95,9 @@ struct fsl_lbc_bank {
#define OR_FCM_TRLX_SHIFT 2
#define OR_FCM_EHTR 0x00000002
#define OR_FCM_EHTR_SHIFT 1
+
+#define OR_GPCM_AM 0xFFFF8000
+#define OR_GPCM_AM_SHIFT 15
};
struct fsl_lbc_regs {
OpenPOWER on IntegriCloud