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

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Jul 20 01:51:11 CEST 2012


Applied to my arm/rmobile branch.
Thank you.

Best regards,
  Nobuhiro

2012/7/17 Tetsuyuki Kobayshi <koba at kmckk.co.jp>:
> 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 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 at kmckk.co.jp>
> ---
> Changes for v3:
>  - New
> Changes for v4:
>  - Modify values for CS4BCR and CS4WCR.
>
>  board/kmc/kzm9g/kzm9g.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
> index 3716483..ed530fd 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)
> --
> 1.7.9.5
>



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


More information about the U-Boot mailing list