[U-Boot] [PATCH] ARM:OMAP3 Change mmc_init to mmc_legacy_init

Tom Tom.Rix at windriver.com
Fri Feb 20 03:22:47 CET 2009


Wolfgang Denk wrote:
> Dear Tom,
>
> in message <20090219225148.01866832E43F at gemini.denx.de> I wrote:
>   
>>> omap3_mmc.c was changed to define mmc_legacy_init.
>>> Remove unused functions.
>>>
>>> Compile tested on all arm
>>> Runtime tested on Zoom1.
>>>
>>> Signed-off-by: Tom Rix <Tom.Rix at windriver.com>
>>> ---
>>>  drivers/mmc/omap3_mmc.c |   17 ++---------------
>>>  1 files changed, 2 insertions(+), 15 deletions(-)
>>>       
>> Applied, thanks.
>>     
>
> ...but there are still build errors on ARM:
>
> Configuring for cerf250 board...
> In file included from mmc.c:31:
> mmc.h:139: error: redefinition of 'struct mmc_cid'
> mmc.h:151: error: redefinition of 'struct mmc_csd'
>   

The recent patches I posted should fix this problems.
They appear to be only in pxa.
The changes looked obvious.
MAKEBUILDALL arm and grep-ing for  mmc in the *.ERR file were used to 
test the compile.
I do not have a pxa target so I was unable to do a runtime test.

It would be a good idea for someone with a pxa board like cerf250 to 
test these changes.

Tom



More information about the U-Boot mailing list