<blockquote>
<tt>Hi, </tt><br>
<br>
<tt>When trying to build u-boot for omap5912osk, I ran into a problem with </tt><br>
<tt>a bunch of undefined reference.</tt><br>
<br>
<tt>lib_arm/libarm.a(board.o)(.text+0x21c): In function `start_armboot':</tt><br>
<tt>/home/wfeng/code/uboot/u-boot-1.1.4/lib_arm/board.c:236: undefined</tt><br>
<tt>reference to `flash_init'</tt><br>
<tt>common/libcommon.a(cmd_bootm.o)(.text+0x960): In function `do_imls':</tt><br>
<tt>/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_bootm.c:1160: undefined</tt><br>
<tt>reference to `flash_info'</tt><br>
<tt>common/libcommon.a(cmd_flash.o)(.text+0x15c): In function `abbrev_spec':</tt><br>
<tt>/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_flash.c:106: undefined</tt><br>
<tt>reference to `flash_info'</tt><br>
<tt>common/libcommon.a(cmd_flash.o)(.text+0x308): In function `addr_spec':</tt><br>
<tt>/home/wfeng/code/uboot/u-boot-1.1.4/common/cmd_flash.c:195: undefined</tt><br>
<tt>reference to `flash_info'</tt><br>
<tt>...</tt><br>
<br>
<tt>I tried omap730p2 config and it compiled successfully. The difference is</tt><br>
<tt>the deleted file "flash.c" in board/omap5912osk directory. The CVS log</tt><br>
<tt>indicates that another file should be used to replace this one, which is</tt><br>
<tt>drivers/cfi_flash.c. I attempted some hacking, so far it has not been</tt><br>
<tt>successful.</tt><br>
<br>
<tt>Is there an available patch for this problem? Any good advices on this</tt><br>
<tt>one?</tt><br>
<br>
<tt>Thanks in advance!</tt><br>
<br>
<tt>William</tt>
</blockquote>