summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/fsl_lbc.h
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2011-05-19 18:48:01 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-05-20 08:46:49 -0500
commitd08e44570ed611c527a1062eb4f8c6ac61832e6e (patch)
treeed808ac6e887995a5d7dd9c6b2ed6c355deaa000 /arch/powerpc/include/asm/fsl_lbc.h
parent208b3a4c196e733b9cec006dc132cfc149b2810a (diff)
downloadop-kernel-dev-d08e44570ed611c527a1062eb4f8c6ac61832e6e.zip
op-kernel-dev-d08e44570ed611c527a1062eb4f8c6ac61832e6e.tar.gz
powerpc/fsl_lbc: Add workaround for ELBC-A001 erratum
Simultaneous FCM and GPCM or UPM operation may erroneously trigger bus monitor timeout. Set the local bus monitor timeout value to the maximum by setting LBCR[BMT] = 0 and LBCR[BMTPS] = 0xF. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_lbc.h')
-rw-r--r--arch/powerpc/include/asm/fsl_lbc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h
index 5c1bf34..8a0b5ec 100644
--- a/arch/powerpc/include/asm/fsl_lbc.h
+++ b/arch/powerpc/include/asm/fsl_lbc.h
@@ -157,6 +157,8 @@ struct fsl_lbc_regs {
#define LBCR_EPAR_SHIFT 16
#define LBCR_BMT 0x0000FF00
#define LBCR_BMT_SHIFT 8
+#define LBCR_BMTPS 0x0000000F
+#define LBCR_BMTPS_SHIFT 0
#define LBCR_INIT 0x00040000
__be32 lcrr; /**< Clock Ratio Register */
#define LCRR_DBYP 0x80000000
OpenPOWER on IntegriCloud