Re: [PATCH 6/6] setup.c: use early_param() for early command line parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Atsushi,

Atsushi Nemoto wrote:
> On Tue, 08 Aug 2006 16:00:30 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote:
>>>> NOTE ! This patch also changes the initrd semantic. Old code
>>>> was expecting "rd_start=xxx rd_size=xxx" which uses two
>>>> parameters. Now the code expects "initrd=xxx@yyy" which is
>>>> really simpler to parse and to use. No default config files
>>>> use these parameters anyways but not sure for bootloader's
>>>> users...
>>> This code is there precisely because most mips bootloaders use
>>> rd_start/rd_size.
>> OK, I guess we have to stick with this weird semantic...
> 
> Maybe you can add something like "initrdmem=xxx@yyy", keeping
> "rd_start" and "rd_size" for the backward compatibility.  Just a
> thought.
> 

Well that what I was planning when writing this patch but I didn't.
I think that we will end up with two different semantics and the
old one never replaced by the new one... Except if we mark them as
deprecated by showing a warning at boot. What do you think ?

		Franck


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux