Re: kernel command line from u-boot

2008-08-08 Thread Robert P. J. Day
On Thu, 7 Aug 2008, Geert Uytterhoeven wrote: > On Thu, 7 Aug 2008, Amol Lad wrote: > > > Probably nobody noticed as this part of the code takes care of the > > > `obsolete-style' parameters. `module_param' is the new way. > > > > Ohh, btw how module_param is different from obsolete style > > para

Re: kernel command line from u-boot

2008-08-07 Thread Robert P. J. Day
On Thu, 7 Aug 2008, Geert Uytterhoeven wrote: > On Thu, 7 Aug 2008, Amol Lad wrote: > > > Probably nobody noticed as this part of the code takes care of the > > > `obsolete-style' parameters. `module_param' is the new way. > > > > Ohh, btw how module_param is different from obsolete style paramate

Re: kernel command line from u-boot

2008-08-07 Thread Geert Uytterhoeven
On Thu, 7 Aug 2008, Amol Lad wrote: > > Probably nobody noticed as this part of the code takes care of the > > `obsolete-style' parameters. `module_param' is the new way. > > Ohh, btw how module_param is different from obsolete style paramaters > ? Do we need to pass arguments to kernel from bootl

Re: kernel command line from u-boot

2008-08-07 Thread Amol Lad
> Probably nobody noticed as this part of the code takes care of the > `obsolete-style' parameters. `module_param' is the new way. Ohh, btw how module_param is different from obsolete style paramaters ? Do we need to pass arguments to kernel from bootloader using a different method for getting the

Re: kernel command line from u-boot

2008-08-07 Thread Geert Uytterhoeven
On Thu, 7 Aug 2008, Amol Lad wrote: > It seems that there is a small problem when kernel parses the command > line passed by u-boot. It doesn't seem to be specific to u-boot... > For example, when I add "board=myboard boardid=1" in the command line > and register handler in kernel as __setup("boa

kernel command line from u-boot

2008-08-06 Thread Amol Lad
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 argumen