[U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC

Timur Tabi timur at freescale.com
Tue Jun 15 21:45:21 CEST 2010


Peter Tyser wrote:
> Was commenting out the 'ifeq' above necessary?  It shouldn't be, so my
> first question would be why it was needed.

Probably because I was using an older U-Boot.  When I switch to the latest
code, it compiles fine.

However, my entry point is not at 40000:

$ nm -n examples/standalone/flash_wp
00040000 t command_exit
000400c4 t is_locked
00040184 T flash_wp
000403d0 T dummy

'flash_wp' should be at 40000.  command_exit and is_locked are two functions
in my code.  command_exit, however, is not the first function, it's the third.


More information about the U-Boot mailing list