[U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

Ilya Yanok yanok at emcraft.com
Mon Dec 12 16:39:35 CET 2011


Hi Igor,

thanks for your comments.

On 30.11.2011 12:21, Igor Grinberg wrote:
>> +#if defined(CONFIG_GENERIC_MMC) && defined(CONFIG_OMAP_HSMMC) && \
>> +	!defined(CONFIG_SPL_BUILD)
>> +int board_mmc_init(bd_t *bis)
>> +{
>> +	omap_mmc_init(0);
>> +	return 0;
> 
> return omap_mmc_init(0);
> 
> I would also define this function ("weak") in some common place,
> so we will not need to copy/paste it all over the boards, but
> of course, it is not a blocker and I don't request this from you.
> Only if you want to... :-)

Well, we can use cpu_mmc_init() for this. But what slot(s) should we
initialized in this common function? First? All?

Regards, Ilya.


More information about the U-Boot mailing list