<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have the u-boot code of mcf54455evb.now I am designing a
new board with processor of mcf54452.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'>When I make the changes in the u-boot
code for configuring SPI, i am getting errors like this <br>
<br>
undefined reference to `spi_init_f' <br>
undefined reference to `spi_init_r' <br>
<br>
(in the file ~/board.c) <br>
<br>
undefined reference to `spi_read' <br>
undefined reference to `spi_write' <br>
undefined reference to `spi_init_f' <br>
<br>
(in the file ~/cmd_eeprom.c) <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'>I am following the README file. i have
done the modification for SPI configuration what they mentioned in the read me
file.<br>
<br>
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?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'>Thanks & Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'>Karthik<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color="#202020" face="Times New Roman"><span
style='font-size:12.0pt;color:#202020'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000>DISCLAIMER:<br>
-----------------------------------------------------------------------------------------------------------------------<br>
<br>
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.<br>
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in <br>
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.<br>
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of <br>
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have<br>
received this email in error please delete it and notify the sender immediately. Before opening any mail and <br>
attachments please check them for viruses and defect.<br>
<br>
-----------------------------------------------------------------------------------------------------------------------<br>
</font></td></tr></table>