[U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4

Tetsuyuki Kobayshi koba at kmckk.co.jp
Mon Jul 9 13:07:00 CEST 2012


From: Tetsuyuki Kobayashi <koba at kmckk.co.jp>

Problem:
Linux kernel hangs up when it write a file to NFS mounted directory.
Solution:
Modify bus controller setting for CS4, which connected smsc9221 ethernet
controller.

Detail:
Modify CS4BCR bit[29:28] (IWW[1:0]) from 00 to 11.
It inserts 4 idle cycles between Write-Read/Write-Write cycles.
Modify CS4WCR bit[18:16] (WW[2:0]) from 101 to 111
It specifies the number of cycles necessary for write access.

Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
---
Changes for v3:
 - New

 board/kmc/kzm9g/kzm9g.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 3716483..8cefbef 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -31,9 +31,9 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 #define CS0BCR_D (0x06C00400)
-#define CS4BCR_D (0x06C00400)
+#define CS4BCR_D (0x36C00400)
 #define CS0WCR_D (0x55062C42)
-#define CS4WCR_D (0x19051443)
+#define CS4WCR_D (0x19071443)
 #define CMNCR_BROMMD0   (1 << 21)
 #define CMNCR_BROMMD1   (1 << 22)
 #define CMNCR_BROMMD	(CMNCR_BROMMD0|CMNCR_BROMMD1)
-- 
1.7.9.5



More information about the U-Boot mailing list