[U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT
Kumar Gala
galak at kernel.crashing.org
Fri Dec 3 22:48:05 CET 2010
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 <beckyb at kernel.crashing.org> 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_init() function, and those that do not. We could have defined
>>> an empty sdram_init() but I hate doing that.
>>
>> Would a weak function be a better way to do this?
>
> Eeney meeney meiney mo..... If the peanut gallery prefers, I can go that way. I don't actually like either solution very much.
I'd prefer reduce the number of #defines
- k
More information about the U-Boot
mailing list