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

Tom Tom.Rix at windriver.com
Fri Feb 20 01:48:05 CET 2009


I will take a look at these failures.
Tom

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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for cradle 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'
> make[1]: *** [mmc.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for csb226 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for delta 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for innokom 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for lubbock 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'
> mmc.c: In function 'mmc_block_write':
> mmc.c:184: error: 'MMC_CMD_WRITE_BLOCK' undeclared (first use in this function)
> mmc.c:184: error: (Each undeclared identifier is reported only once
> mmc.c:184: error: for each function it appears in.)
> mmc.c: At top level:
> mmc.c:223: error: conflicting types for 'mmc_read'
> /home/wd/git/u-boot/work/include/mmc.h:272: error: previous declaration of 'mmc_read' was here
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for pleb2 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for pxa255_idp 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'
> mmc.c: In function 'mmc_block_write':
> mmc.c:184: error: 'MMC_CMD_WRITE_BLOCK' undeclared (first use in this function)
> mmc.c:184: error: (Each undeclared identifier is reported only once
> mmc.c:184: error: for each function it appears in.)
> mmc.c: At top level:
> mmc.c:223: error: conflicting types for 'mmc_read'
> /home/wd/git/u-boot/work/include/mmc.h:272: error: previous declaration of 'mmc_read' was here
> make[1]: *** [mmc.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for wepep250 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'
> make[1]: *** [mmc.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for xaeniax 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
> Configuring for xm250 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for xsengine 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'
> mmc.c: In function 'mmc_block_write':
> mmc.c:184: error: 'MMC_CMD_WRITE_BLOCK' undeclared (first use in this function)
> mmc.c:184: error: (Each undeclared identifier is reported only once
> mmc.c:184: error: for each function it appears in.)
> mmc.c: At top level:
> mmc.c:223: error: conflicting types for 'mmc_read'
> /home/wd/git/u-boot/work/include/mmc.h:272: error: previous declaration of 'mmc_read' was here
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> arm-linux-size: './u-boot': No such file
> Configuring for zylonite 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'
> make[1]: *** [mmc.o] Error 1
> make: *** [cpu/pxa/libpxa.a] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> arm-linux-size: './u-boot': No such file
>
>
> Best regards,
>
> Wolfgang Denk
>
>   



More information about the U-Boot mailing list