Wolfgang Denk wrote:
> I think the "timer" code is sufficient to show the problem, and that
> your fix helps. If Timur confirms it's working for his secret code
> too we should apply this.
Doing this at the top of my source file:
static int __flash_wp(int argc, char *argv[]);
int flash_wp(int argc, char *argv[])
{
return __flash_wp(argc, argv);
}
and then adding this line:
CFLAGS += -fno-toplevel-reorder
was all I needed to get my entry point to appear at 40000 without needing to
define any more forward references or caring about the order of the
functions in the file.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot