From: "Amol Lad" <amol.lad@gmail.com>
To: linux-embedded <linux-embedded@vger.kernel.org>
Subject: kernel command line from u-boot
Date: Thu, 7 Aug 2008 10:11:33 +0530 [thread overview]
Message-ID: <8c675e9b0808062141s74f1a7bfob5cab6b23b0268d3@mail.gmail.com> (raw)
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
next reply other threads:[~2008-08-07 4:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 4:41 Amol Lad [this message]
2008-08-07 8:54 ` kernel command line from u-boot 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c675e9b0808062141s74f1a7bfob5cab6b23b0268d3@mail.gmail.com \
--to=amol.lad@gmail.com \
--cc=linux-embedded@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).