summaryrefslogtreecommitdiff
path: root/include/ppc440.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-06-28 14:56:17 +0200
committerStefan Roese <sr@denx.de>2008-06-30 15:20:41 +0200
commit745d8a0d3cea82e6d1753e14afb4588c34761b15 (patch)
tree4b2038ff401f922a15957eb4d70d9b70a57577f7 /include/ppc440.h
parent93262af85e3e9d9974c6c08fbd37a9a72e090ca2 (diff)
downloadu-boot-imx-745d8a0d3cea82e6d1753e14afb4588c34761b15.zip
u-boot-imx-745d8a0d3cea82e6d1753e14afb4588c34761b15.tar.gz
u-boot-imx-745d8a0d3cea82e6d1753e14afb4588c34761b15.tar.bz2
ppc4xx: Fix 460EX errata with CPU lockup upon high AHB traffic
This patch implements a fix provided by AMCC so that the lockup upon simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur anymore: Set SDR0_AHB_CFG[A2P_INCR4] (bit 24) and clear SDR0_AHB_CFG[A2P_PROT2] (bit 25) for a new 460EX errata regarding concurrent use of AHB USB OTG, USB 2.0 host and SATA. This errata is not officially available yet. I'll update the comment to add the errata number later. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/ppc440.h')
-rw-r--r--include/ppc440.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ppc440.h b/include/ppc440.h
index 62f1680..c581f1b 100644
--- a/include/ppc440.h
+++ b/include/ppc440.h
@@ -2471,6 +2471,8 @@
#define AHB_TOP 0xA4
#define AHB_BOT 0xA5
+#define SDR0_AHB_CFG 0x370
+#define SDR0_USB2HOST_CFG 0x371
#endif /* CONFIG_460EX || CONFIG_460GT */
#define SDR0_SDCS_SDD (0x80000000 >> 31)