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