[U-Boot] [PATCH 3/5] am33xx/board: use cpu_mmc_init() for default mmc initialization

Peter Korsgaard jacmet at sunsite.dk
Tue Oct 16 19:37:35 CEST 2012


>>>>> "Tom" == Tom Rini <trini at ti.com> writes:

Hi,

 >> #if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD) -int
 >> board_mmc_init(bd_t *bis) +int cpu_mmc_init(bd_t *bis) { int ret; -
 >> + ret = omap_mmc_init(0, 0, 0); if (ret) return ret;
 >> 

 Tom> What does this look like on your port?

I don't have any, the board doesn't have mmc ;)

This is purely cleanup to better match the other (sub-)archs and make it
possible to provide a board override. I don't particular know if anyone
will ever need it on am33xx, but it doesn't cost anything and
historically various boards have used these for pinmux / regulator
handling / card detect gpio / ..

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list