I think you also have other problems, the u-boot source code that you're working on is quite old, it seems like you might be better off transplanting any code you've got from your own editing and putting it into a new version of u-boot, then you won't need to hack the code your using.