Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Kumar Gala
On Dec 3, 2010, at 2:44 PM, Becky Bruce wrote: > > On Dec 2, 2010, at 8:26 PM, Timur Tabi wrote: > >> On Thu, Dec 2, 2010 at 5:45 PM, Becky Bruce >> wrote: >>> This is for boards that use the SDRAM mode on the LBC but don't >>> require any additional setup. >>> >>> I'm merging all the initdr

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Peter Tyser
On Fri, 2010-12-03 at 14:54 -0600, Becky Bruce wrote: > On Dec 2, 2010, at 8:26 PM, Peter Tyser wrote: > > > Hi Becky, > > > >> +/* Common ddr init for non-corenet fsl 85xx platforms */ > >> +#ifndef CONFIG_FSL_CORENET > >> +phys_size_t initdram(int board_type) > >> +{ > >> + phys_size_t dram_si

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Becky Bruce
On Dec 2, 2010, at 8:26 PM, Peter Tyser wrote: > Hi Becky, > >> +/* Common ddr init for non-corenet fsl 85xx platforms */ >> +#ifndef CONFIG_FSL_CORENET >> +phys_size_t initdram(int board_type) >> +{ >> +phys_size_t dram_size = 0; >> + >> +puts("Initializing\n"); > > Any chance we can r

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-03 Thread Becky Bruce
On Dec 2, 2010, at 8:26 PM, Timur Tabi wrote: > On Thu, Dec 2, 2010 at 5:45 PM, Becky Bruce > wrote: >> This is for boards that use the SDRAM mode on the LBC but don't >> require any additional setup. >> >> I'm merging all the initdram() calls into a single function for 85xx, >> and have to be

Re: [U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-02 Thread Timur Tabi
On Thu, Dec 2, 2010 at 5:45 PM, Becky Bruce wrote: > This is for boards that use the SDRAM mode on the LBC but don't > require any additional setup. > > I'm merging all the initdram() calls into a single function for 85xx, > and have to be able to distinguish between boards that require an > sdram

[U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

2010-12-02 Thread Becky Bruce
This is for boards that use the SDRAM mode on the LBC but don't require any additional setup. I'm merging all the initdram() calls into a single function for 85xx, and have to be able to distinguish between boards that require an sdram_init() function, and those that do not. We could have defined