public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] the weirdness with cmd_df.c
@ 2013-02-04 15:54 Robert P. J. Day
  2013-02-04 16:00 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2013-02-04 15:54 UTC (permalink / raw)
  To: u-boot

   i mentioned this this weekend as well, can someone clarify this?
the source file cmd_df.c looks weird:

U_BOOT_CMD(
         sf,     2,      1,      do_serial_flash,
         "Serial flash sub-system",
         "probe [bus:]cs         - init flash device on given SPI bus and CS")

so the source file "cmd_df.c" allegedly defines a command called "sf",  
which invokes "do_serial_flash", which isn't even defined in that  
source file -- what's defined in that file is "do_df".  i don't see  
"do_serial_flash" defined anywhere in the u-boot source tree.  am i  
just being blind?  i see no reference to that source file in Makefile,  
so i'm guessing it's historical cruft that could be deleted?

rday

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

end of thread, other threads:[~2013-02-04 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 15:54 [U-Boot] the weirdness with cmd_df.c Robert P. J. Day
2013-02-04 16:00 ` Albert ARIBAUD

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