2009-01-02 05:58:41     CONFIG_SPI define BF533 config in u-boot 2008 R1.5 gives compilation error

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2009-01-02 05:58:41     CONFIG_SPI define BF533 config in u-boot 2008 R1.5 gives compilation error

Appalayagari Sreedhar (INDIA)

Message: 67293   

 

Hi,

 

I am working with custom board BF533 with LCD interfaced with control path SPI.

 

When i defined the CONFIG_SPI in include/configs/bf533-ezkit and compiled the u-boot I am getting the following errors

 

lib_blackfin/libblackfin.a(board.o): In function `board_init_r':

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/lib_blackfin/board.c:390: undefined reference to `spi_init_f'

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/lib_blackfin/board.c:393: undefined reference to `spi_init_r'

common/libcommon.a(cmd_eeprom.o): In function `eeprom_init':

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/common/cmd_eeprom.c:426: undefined reference to `spi_init_f'

common/libcommon.a(cmd_eeprom.o): In function `eeprom_write':

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/common/cmd_eeprom.c:291: undefined reference to `spi_write'

common/libcommon.a(cmd_eeprom.o): In function `eeprom_read':

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/common/cmd_eeprom.c:192: undefined reference to `spi_read'

common/libcommon.a(cmd_eeprom.o): In function `do_eeprom':

/home/najma/Sree_Work/u-boot-1.1.6-2008R1.5/common/cmd_eeprom.c:111: undefined reference to `eeprom_info'

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

 

 

How to resolve this problem.

 

Best Regards, Sreedhar.

QuoteReplyEditDelete

 

 

2009-01-02 06:00:49     Re: CONFIG_SPI define BF533 config in u-boot 2008 R1.5 gives compilation error

Mike Frysinger (UNITED STATES)

Message: 67294   

 

you didnt provide an eeprom driver, so it isnt going to work

Attachments

    Outcomes