Skip to contentSkip to conversation

83xx/85xx/86xx: Add LTEDR local bus definitions

PATCH New Detlev Zundel 2 participants 4 messages Jul 16, 2008 – Jul 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 83xx/85xx/86xx: Add LTEDR local bus definitions

---
 include/asm-ppc/fsl_lbc.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
include/asm-ppc/fsl_lbc.h +9 -0
index c4af797..ea49ddc 100644
@@ -298,4 +298,13 @@
 #define LCRR_CLKDIV_4			0x00000004
 #define LCRR_CLKDIV_8			0x00000008
 
+/* LTEDR - Transfer Error Check Disable Register
+ */
+#define LTEDR_BMD	0x80000000 /* Bus monitor disable				*/
+#define LTEDR_PARD	0x20000000 /* Parity error checking disabled			*/
+#define LTEDR_WPD	0x04000000 /* Write protect error checking diable		*/
+#define LTEDR_WARA	0x00800000 /* Write-after-read-atomic error checking diable	*/
+#define LTEDR_RAWA	0x00400000 /* Read-after-write-atomic error checking disable	*/
+#define LTEDR_CSD	0x00080000 /* Chip select error checking disable		*/
+
 #endif /* __ASM_PPC_FSL_LBC_H */
Signature · 1 line
1.5.6.1
#1 lore raw

PATCH 1/1 tqm85xx: Demystify 'DK: !!!' comment

---
 board/tqc/tqm85xx/tqm85xx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
board/tqc/tqm85xx/tqm85xx.c +2 -1
index f1c2e58..839d47d 100644
@@ -464,7 +464,8 @@ void local_bus_init (void)
 
 	if (lbc_mhz < 66) {
 		lbc->lcrr = CFG_LBC_LCRR | LCRR_DBYP;	/* DLL Bypass */
-		lbc->ltedr = 0xa4c80000;	/* DK: !!! */
+		lbc->ltedr = LTEDR_BMD | LTEDR_PARD | LTEDR_WPD | LTERD_WARA |
+			     LTEDR_RAWA | LTEDR_CSD;	/* Disable all error checking */
 
 	} else if (lbc_mhz >= 133) {
 		lbc->lcrr = CFG_LBC_LCRR & (~LCRR_DBYP);	/* DLL Enabled */
Signature · 1 line
1.5.6.1
#3 lore raw

PATCH 1/1 83xx/85xx/86xx: Add LTEDR local bus definitions

In reply to Detlev Zundel
Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/asm-ppc/fsl_lbc.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You know that feeling when you're leaning back  on  a  stool  and  it
starts to tip over? Well, that's how I feel all the time.
- Steven Wright
#2 lore raw

PATCH 1/1 tqm85xx: Demystify 'DK: !!!' comment

In reply to Detlev Zundel
Quoted 4 lines · In message <[email protected]> you wrote:
---
 board/tqc/tqm85xx/tqm85xx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We fight only when there is no other choice. We prefer  the  ways  of
peaceful contact.
	-- Kirk, "Spectre of the Gun", stardate 4385.3