[PATCH] phram: make kernel boot command line arguments work

Artem Bityutskiy dedekind1 at gmail.com
Thu Oct 20 12:16:53 EDT 2011


On Mon, 2011-10-17 at 17:40 +0200, h-fache at ti.com wrote:
> From: Hervé Fache <h-fache at ti.com>
> 
> This patch is based on Ville Herva's similar patch to block2mtd.
> 
> Trying to pass kernel command line arguments at boot-time did not work, as
> phram_setup() was called so early that kmalloc() was not functional.
> 
> This patch only saves the option string at the early boot stage, and parses
> it later when init_phram() is called. This is determined by the fact that
> init was called, or not.
> 
> With this patch, I can boot with a statically-compiled phram, and mount a
> ext2 root fs from physical RAM, without the need for a initrd.
> 
> Signed-off-by: Hervé Fache <h-fache at ti.com>

Could you please make checkpatch.pl happy?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111020/cdf23cfd/attachment.sig>


More information about the linux-mtd mailing list