[U-Boot] spi utility command support

shashikiran.bevenkatti at wipro.com shashikiran.bevenkatti at wipro.com
Fri Jul 23 10:19:18 CEST 2010


Hi,

    I'm using u-boot-2009.11, please help in enabling sspi utility command for MPC8569MDS board.

I included the macro "#define CONFIG_CMD_SPI" in the file "include/configs/MPC8569MDS.h".

following is the error when i done make.

common/libcommon.a(cmd_spi.o): In function `do_spi':

/home/shashi/u-boot-2009.11/common/cmd_spi.c:111: undefined reference to `spi_setup_slave'
/home/shashi/u-boot-2009.11/common/cmd_spi.c:120: undefined reference to `spi_claim_bus'
/home/shashi/u-boot-2009.11/common/cmd_spi.c:121: undefined reference to `spi_xfer'
/home/shashi/u-boot-2009.11/common/cmd_spi.c:131: undefined reference to `spi_release_bus'
/home/shashi/u-boot-2009.11/common/cmd_spi.c:132: undefined reference to `spi_free_slave'

common/libcommon.a(exports.o):(.got2+0x3c): undefined reference to `spi_init'
common/libcommon.a(exports.o):(.got2+0x40): undefined reference to `spi_setup_slave'
common/libcommon.a(exports.o):(.got2+0x44): undefined reference to `spi_free_slave'
common/libcommon.a(exports.o):(.got2+0x48): undefined reference to `spi_claim_bus'
common/libcommon.a(exports.o):(.got2+0x4c): undefined reference to `spi_release_bus'
common/libcommon.a(exports.o):(.got2+0x50): undefined reference to `spi_xfer'

make: *** [u-boot] Error 1


Thanks & Regards,
Shashikiran

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the U-Boot mailing list