diff options
author | John Ogness <john.ogness@linutronix.de> | 2014-12-09 17:43:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-12 05:04:13 -0800 |
commit | fbc4a8a85777e065f7a195ddc58b3245808f1e87 (patch) | |
tree | 8bacc3572b40cb97e6cc1c5295a01d9021ad0c93 /arch/powerpc | |
parent | 02b03846bb2befc558bfd0665749d6bb26f4c2f1 (diff) | |
download | blackbird-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.h | 3 |
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 { |