summaryrefslogtreecommitdiff
path: root/board/kmc/kzm9g/kzm9g.c
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-07-16 19:13:11 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-03 02:04:23 +0200
commitd95a96a072d1ae2c8c14217caf52a7864f18b0e3 (patch)
treed585eccf5af915ef13b47d73fa9433f6e02ec147 /board/kmc/kzm9g/kzm9g.c
parent087a277b1add0d32087da2b99743c0af53c5589b (diff)
downloadu-boot-imx-d95a96a072d1ae2c8c14217caf52a7864f18b0e3.zip
u-boot-imx-d95a96a072d1ae2c8c14217caf52a7864f18b0e3.tar.gz
u-boot-imx-d95a96a072d1ae2c8c14217caf52a7864f18b0e3.tar.bz2
arm: rmobile: kzm9g: Modify bus controller setting for CS4
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 01. Modify CS4BCR bit[20:19] (IWRRD[1:0]) from 00 to 01. Modify CS4BCR bit[17:16] (IWRRS[1:0]) from 00 to 01. Modify CS4WCR bit[27:26] (WSW[1:0]) from 10 to 11 Modify CS4WCR bit[25:24] (WHW[1:0]) from 01 to 10 Modify CS4WCR bit[18:16] (WW[2:0]) from 101 to 111 Modify CS4WCR bit[13:11] (SW[2:0]) from 010 to 011 Modify CS4WCR bit[10:7] (WR[3:0]) from 1000 to 1011 Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/kmc/kzm9g/kzm9g.c')
-rw-r--r--board/kmc/kzm9g/kzm9g.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 38efad4..497f827 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -31,9 +31,10 @@
DECLARE_GLOBAL_DATA_PTR;
#define CS0BCR_D (0x06C00400)
-#define CS4BCR_D (0x06C00400)
+#define CS4BCR_D (0x16c90400)
#define CS0WCR_D (0x55062C42)
-#define CS4WCR_D (0x19051443)
+#define CS4WCR_D (0x1e071dc3)
+
#define CMNCR_BROMMD0 (1 << 21)
#define CMNCR_BROMMD1 (1 << 22)
#define CMNCR_BROMMD (CMNCR_BROMMD0|CMNCR_BROMMD1)