public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] omap2420h4 error
@ 2007-08-19 17:05 Dirk Behme
  2007-08-19 20:06 ` Nishanth Menon
  2007-08-19 20:24 ` [U-Boot-Users] " Woodruff, Richard
  0 siblings, 2 replies; 6+ messages in thread
From: Dirk Behme @ 2007-08-19 17:05 UTC (permalink / raw)
  To: u-boot


Looking at arm-errors.tar.gz -> omap2420h4.ERR

common/libcommon.a(env_flash.o): In function `env_init':
/.automount/castor-vlab/root/home/wd/git/u-boot/work/common/env_flash.c:265: 
undefined reference to `flash_probe'
make: *** [/work/wd/tmp/u-boot-arm/u-boot] Error 1

is because in board/omap2420h4 file flash.c isn't used any more. This 
file contains flash_probe(), but it isn't compiled. If enabled for 
test, there are tons of link conflicts with cfi_flash.c.

So looks to me that omap2420h4 switch to cfi disabled flash.c (and 
didn't remove it) but missed to resolve flash_probe() call in env_flash.c.

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commitdiff;h=49a7581c6ced35379ec3c450bb60fe736db9d733

Proposal to fix this is to remove unused file board/omap2420h4/flash.c 
and remove calls of flash_probe()/omap2420h4 #ifdefs in env_flash.c. 
However, not sure if this is correct.

Opinions?

Cheers

Dirk

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-29  0:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19 17:05 [U-Boot-Users] omap2420h4 error Dirk Behme
2007-08-19 20:06 ` Nishanth Menon
2007-08-19 20:53   ` Wolfgang Denk
2007-08-20  5:09     ` [U-Boot-Users] [PATCH] " Dirk Behme
2007-08-29  0:02       ` Wolfgang Denk
2007-08-19 20:24 ` [U-Boot-Users] " Woodruff, Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox