Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-12-03 Thread Vaibhav Bedia
On Sun, Dec 1, 2013 at 11:21 PM, Lokesh Vutla wrote: ][...] > We should not rely on RTC here. I don't think U-Boot should worry about low > power state. You mean to > say about passing this information to kernel? No. I am not asking you to pass this to the kernel. > In the current kernel also m

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-12-01 Thread Lokesh Vutla
On Thursday 28 November 2013 04:33 AM, Vaibhav Bedia wrote: > On Wed, Nov 27, 2013 at 4:34 AM, Lokesh Vutla wrote: > [...] >> Ideally the default value should be exported from e-fuse values. >> EMIF does some HW sequence according to the value exported here. This filed >> tells >> what type of me

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-27 Thread Vaibhav Bedia
On Wed, Nov 27, 2013 at 4:34 AM, Lokesh Vutla wrote: [...] > Ideally the default value should be exported from e-fuse values. > EMIF does some HW sequence according to the value exported here. This filed > tells > what type of memory it is. > No, eFuse is not the right place for this information

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-27 Thread Lokesh Vutla
On Wednesday 27 November 2013 05:47 AM, Vaibhav Bedia wrote: > On Mon, Nov 25, 2013 at 12:18 AM, Lokesh Vutla wrote: >> On Friday 22 November 2013 02:22 AM, Vaibhav Bedia wrote: >>> On Thu, Nov 21, 2013 at 1:18 AM, Lokesh Vutla wrote: >>> [...] >>> -/* - * Get SDRAM type connected to EM

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-26 Thread Vaibhav Bedia
On Mon, Nov 25, 2013 at 12:18 AM, Lokesh Vutla wrote: > On Friday 22 November 2013 02:22 AM, Vaibhav Bedia wrote: >> On Thu, Nov 21, 2013 at 1:18 AM, Lokesh Vutla wrote: >> [...] >> >>> -/* >>> - * Get SDRAM type connected to EMIF. >>> - * Assuming similar SDRAM parts are connected to both EMIF's

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-24 Thread Lokesh Vutla
On Friday 22 November 2013 02:22 AM, Vaibhav Bedia wrote: > On Thu, Nov 21, 2013 at 1:18 AM, Lokesh Vutla wrote: > [...] > >> -/* >> - * Get SDRAM type connected to EMIF. >> - * Assuming similar SDRAM parts are connected to both EMIF's >> - * which is typically the case. So it is sufficient to ge

Re: [U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-21 Thread Vaibhav Bedia
On Thu, Nov 21, 2013 at 1:18 AM, Lokesh Vutla wrote: [...] > -/* > - * Get SDRAM type connected to EMIF. > - * Assuming similar SDRAM parts are connected to both EMIF's > - * which is typically the case. So it is sufficient to get > - * SDRAM type from EMIF1. > - */ > -u32 emif_sdram_type() > -{

[U-Boot] [PATCH V2 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-11-20 Thread Lokesh Vutla
GP EVM has 1GB DDR3 attached(Part no: MT41K512M8RH). Adding details for the same. Below is the brief description of DDR3 init sequence(SW leveling): -> Enable VTT regulator -> Configure VTP -> Configure DDR IO settings -> Disable initialization and refreshes until EMIF registers are programmed. ->