linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel command line from u-boot
@ 2008-08-07  4:41 Amol Lad
  2008-08-07  8:54 ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Amol Lad @ 2008-08-07  4:41 UTC (permalink / raw)
  To: linux-embedded

Hi,

It seems that there is a small problem when kernel parses the command
line passed by u-boot.

For example, when I add "board=myboard boardid=1" in the command line
and register handler in kernel as __setup("board", board_setup), then
the board_setup function is called twice : once with argument
"myboard" and second time with argument "d=1". So kernel is calling
handler registered for param "board" for "boardid" also. Is this ok ?

Thanks
Amol

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

end of thread, other threads:[~2008-08-08 15:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07  4:41 kernel command line from u-boot Amol Lad
2008-08-07  8:54 ` Geert Uytterhoeven
2008-08-07 11:27   ` Amol Lad
2008-08-07 14:18     ` Geert Uytterhoeven
2008-08-07 14:29       ` Robert P. J. Day
2008-08-08 15:53       ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).