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

Timur Tabi timur at freescale.com
Fri Dec 3 03:26:51 CET 2010


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?

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list