aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2014-12-09 11:43:10 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-12 08:04:13 -0500
commitfbc4a8a85777e065f7a195ddc58b3245808f1e87 (patch)
tree8bacc3572b40cb97e6cc1c5295a01d9021ad0c93 /arch/powerpc
parent02b03846bb2befc558bfd0665749d6bb26f4c2f1 (diff)
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 {
95#define OR_FCM_TRLX_SHIFT 2 95#define OR_FCM_TRLX_SHIFT 2
96#define OR_FCM_EHTR 0x00000002 96#define OR_FCM_EHTR 0x00000002
97#define OR_FCM_EHTR_SHIFT 1 97#define OR_FCM_EHTR_SHIFT 1
98
99#define OR_GPCM_AM 0xFFFF8000
100#define OR_GPCM_AM_SHIFT 15
98}; 101};
99 102
100struct fsl_lbc_regs { 103struct fsl_lbc_regs {