Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-28 Thread Paulraj, Sandeep
> > Thanks Wolfgang. > > > > Copying Sandeep so he knows he has to work fast :-) > > Ping??? Its coming in a few minutes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-28 Thread Wolfgang Denk
Dear Sandeep, In message <1285623705.4705.45.ca...@quadra> Steve Sakoman wrote: > On Mon, 2010-09-27 at 23:37 +0200, Wolfgang Denk wrote: > > Dear Steve Sakoman, > > > > In message <1285622277.4705.43.ca...@quadra> you wrote: > > > > > > The subject patch does indeed set the ram size properly in

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-27 Thread Steve Sakoman
On Mon, 2010-09-27 at 23:37 +0200, Wolfgang Denk wrote: > Dear Steve Sakoman, > > In message <1285622277.4705.43.ca...@quadra> you wrote: > > > > The subject patch does indeed set the ram size properly in the OMAP4 > > specific dram_init() function. As Wolfgang says above, this is the > > proper

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-27 Thread Wolfgang Denk
Dear Steve Sakoman, In message <1285622277.4705.43.ca...@quadra> you wrote: > > The subject patch does indeed set the ram size properly in the OMAP4 > specific dram_init() function. As Wolfgang says above, this is the > proper place. If there are no other objections we should try to get > this i

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-27 Thread Steve Sakoman
On Mon, 2010-09-27 at 11:02 +0200, Wolfgang Denk wrote: > Dear "V, Aneesh", > > In message you > wrote: > > > > > SDRAM configuration must be done while still running from NOR, i. e. > > > before relocation. Only then free reconfiguration, auto-sizing etc. > > > is > > > possible. > > > > We sh

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-27 Thread Wolfgang Denk
Dear "V, Aneesh", In message you wrote: > > > SDRAM configuration must be done while still running from NOR, i. e. > > before relocation. Only then free reconfiguration, auto-sizing etc. > > is > > possible. > > We shall rework the patch to do SDRAM size calculation as part of > 'lowlevel_init

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-27 Thread V, Aneesh
Subject: Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size > > Dear Wolfgang Denk, > > > -Original Message- > > From: Wolfgang Denk [mailto:w...@denx.de] > > Sent: Sunday, September 26, 2010 8:07 PM > > To: Nishanth Menon > > Cc: V, Aneesh;

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread V, Aneesh
Dear Wolfgang Denk, > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Sunday, September 26, 2010 8:07 PM > To: Nishanth Menon > Cc: V, Aneesh; u-boot@lists.denx.de; Steve Sakoman > Subject: Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread Nishanth Menon
On 09/26/2010 09:57 AM, Steve Sakoman wrote: > On Sun, 2010-09-26 at 16:37 +0200, Wolfgang Denk wrote: >> Dear Nishanth Menon, >> >> In message<4c9f3e4f.3040...@gmail.com> you wrote: >>> I think you are referring to SDRAM initialization. Yes, it is assumed that SDRAM initialization(at le

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread Steve Sakoman
On Sun, 2010-09-26 at 16:37 +0200, Wolfgang Denk wrote: > Dear Nishanth Menon, > > In message <4c9f3e4f.3040...@gmail.com> you wrote: > > > > > I think you are referring to SDRAM initialization. Yes, it is assumed > > > that SDRAM initialization(at least the DMM part of it) is done before > > > th

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread Wolfgang Denk
Dear Nishanth Menon, In message <4c9f3e4f.3040...@gmail.com> you wrote: > > > I think you are referring to SDRAM initialization. Yes, it is assumed > > that SDRAM initialization(at least the DMM part of it) is done before > > the call to sdram_size(). The right location for this seems > > to be th

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread Nishanth Menon
Sakoman >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size >> >> On 09/23/2010 04:12 PM, Steve Sakoman wrote: >>> From: Aneesh V >>> >>> Calculate the SDRAM size from DMM configuration registers instead &

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread Wolfgang Denk
Dear "V, Aneesh", In message you wrote: > > I think you are referring to SDRAM initialization. Yes, it is assumed > that SDRAM initialization(at least the DMM part of it) is done before > the call to sdram_size(). The right location for this seems > to be the initial part of sdram_init(). If

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-26 Thread V, Aneesh
Hi Nishanth > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Nishanth Menon > Sent: Saturday, September 25, 2010 8:30 PM > To: Steve Sakoman > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] AR

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-25 Thread Steve Sakoman
On Sat, 2010-09-25 at 10:00 -0500, Nishanth Menon wrote: > On 09/23/2010 04:12 PM, Steve Sakoman wrote: > > From: Aneesh V > > > > Calculate the SDRAM size from DMM configuration registers instead of using > > hard-coded values. This gives correct values for all different boards. > > > > It's assum

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-25 Thread Wolfgang Denk
Dear Nishanth Menon, In message <4c9e0e7e.7090...@gmail.com> you wrote: > > How do we handle NOR boot? is it assumed that the configuration will be > done way befor the sdram_init? What do you mean? Which configuration? Please note that things have changed with the relocation patches; boards sh

Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-25 Thread Nishanth Menon
On 09/23/2010 04:12 PM, Steve Sakoman wrote: > From: Aneesh V > > Calculate the SDRAM size from DMM configuration registers instead of using > hard-coded values. This gives correct values for all different boards. > > It's assumed that DMM sections do not overlap memory areas. How do we handle NOR

[U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

2010-09-23 Thread Steve Sakoman
From: Aneesh V Calculate the SDRAM size from DMM configuration registers instead of using hard-coded values. This gives correct values for all different boards. It's assumed that DMM sections do not overlap memory areas. Signed-off-by: Aneesh V Tested-by: Steve Sakoman --- arch/arm/cpu/armv7