Re: [linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-04-29 Thread Siarhei Siamashka
On Sun, 06 Apr 2014 11:49:22 +0200 Jens Kuske wrote: > > On 06/04/14 04:19, Siarhei Siamashka wrote: > > On Wed, 26 Mar 2014 17:40:50 +0100 > > Jens Kuske wrote: > > > >> This patch unifies sun4i and sun[5,7]i autorefresh setup functions > >> and adds proper tRFC calculation. > >> > >> tRFC (R

Re: [linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-04-09 Thread Siarhei Siamashka
On Sun, 06 Apr 2014 11:49:22 +0200 Jens Kuske wrote: > On 06/04/14 04:19, Siarhei Siamashka wrote: > > On Wed, 26 Mar 2014 17:40:50 +0100 > > Jens Kuske wrote: > > > >> -#if defined(CONFIG_SUN5I) || defined(CONFIG_SUN7I) > >> -static void dramc_set_autorefresh_cycle(u32 clk) > >> +static void dr

Re: [linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-04-06 Thread Jens Kuske
On 06/04/14 04:19, Siarhei Siamashka wrote: > On Wed, 26 Mar 2014 17:40:50 +0100 > Jens Kuske wrote: > >> This patch unifies sun4i and sun[5,7]i autorefresh setup functions >> and adds proper tRFC calculation. >> >> tRFC (REF command to ACT time) depends on DDR type and chip density. >> >> On su

Re: [linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-04-05 Thread Siarhei Siamashka
On Wed, 26 Mar 2014 17:40:50 +0100 Jens Kuske wrote: > This patch unifies sun4i and sun[5,7]i autorefresh setup functions > and adds proper tRFC calculation. > > tRFC (REF command to ACT time) depends on DDR type and chip density. > > On sun4i there were two steps, 127.5ns for <=1Gb density and

Re: [linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-03-27 Thread Olliver Schinagl
On 03/26/2014 05:40 PM, Jens Kuske wrote: This patch unifies sun4i and sun[5,7]i autorefresh setup functions and adds proper tRFC calculation. tRFC (REF command to ACT time) depends on DDR type and chip density. On sun4i there were two steps, 127.5ns for <=1Gb density and 327.5ns for the rest.

[linux-sunxi] [RFC PATCH u-boot 2/2] sunxi: dram: Fix autorefresh timing setup

2014-03-26 Thread Jens Kuske
This patch unifies sun4i and sun[5,7]i autorefresh setup functions and adds proper tRFC calculation. tRFC (REF command to ACT time) depends on DDR type and chip density. On sun4i there were two steps, 127.5ns for <=1Gb density and 327.5ns for the rest. This fits DDR2 specification for 1Gb and 4Gb