From: Tetsuyuki Kobayashi Date: Mon, 16 Jul 2012 19:13:11 +0000 (+0000) Subject: arm: rmobile: kzm9g: Modify bus controller setting for CS4 X-Git-Tag: v2012.10-rc3~15^2~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d95a96a072d1ae2c8c14217caf52a7864f18b0e3;p=u-boot 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 Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 38efad4765..497f8278bc 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)