
As a general comment, this is the same file that RedBoot uses - it's lattice code, so I didn't do much with it. Yes the formatting is pretty horrible. And the comments are pretty misleading.
It is needed, the kernel expects the FPGA to be already programmed & ready to go, there is no code to handle FPGA loading in the kernel.
The whole point of this is to have u-boot to be a drop in replacement for RedBoot, providing backwards compatibility with kernels & images created for RedBoot.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "The great question... which I have not been able to answer... is, `What does woman want?'" - Sigmund Freud
Regards
Pantelis
If it's any consolation, I have the same problem getting Xilinx-derived code accepted into U-Boot. :)