
On Wednesday 22 July 2009 01:25:45 Mike Frysinger wrote:
On Wednesday 22 July 2009 00:52:51 Peter Tyser wrote:
but there's still a number of undefined references: ptyser@ptyser-laptop u-boot $ make -s atmel_df_pow2.o: In function `atmel_df_pow2': /home/ptyser/u-boot/examples/standalone/atmel_df_pow2.c:129: undefined reference to `spi_init' /home/ptyser/u-boot/examples/standalone/atmel_df_pow2.c:163: undefined reference to `spi_setup_slave' /home/ptyser/u-boot/examples/standalone/atmel_df_pow2.c:169: undefined reference to `spi_claim_bus' ... and so on ...
looks like you still didnt do it right. stubs.o will always end up with stub symbols which are always provided for standalone applications.
my guess is you didnt apply the "export SPI functions to standalone apps" patch -mike