[U-Boot-Users] reg to configure DSPI in mcf54455

Karthikeyan Kadirvel, Chennai karthikeyan.kadirvel at hcl.in
Thu Apr 3 13:55:41 CEST 2008


Hi,

 

I have the u-boot code of mcf54455evb.now I am designing a new board
with processor of mcf54452.

 

When I make the changes in the u-boot code for configuring SPI, i am
getting errors like this 

undefined reference to `spi_init_f' 
undefined reference to `spi_init_r' 

(in the file ~/board.c) 

undefined reference to `spi_read' 
undefined reference to `spi_write' 
undefined reference to `spi_init_f' 

(in the file ~/cmd_eeprom.c) 

 

I am following the README file. i have done the modification for SPI
configuration what they mentioned in the read me file.

Even though the two C files have inludes to an .h file (common.h) that
define these functions...Any ideas what is happening here? The thing is,
the only place I can see that these functions are given are in a file
called spi.c, which exists in *some* board config folders. Does this
mean that i need an spi.c file added into the /board/mcf54455evb/
folder? I have to write the definitions for those function?

 

Thanks & Regards,

Karthik

 

 



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080403/b3f5fecc/attachment.htm 


More information about the U-Boot mailing list