Re: [PATCH] block: support embedded device command line partition

From: Andrew Morton
Date: Mon Aug 05 2013 - 18:22:15 EST


On Sat, 3 Aug 2013 09:57:04 +0000 Caizhiyong <caizhiyong@xxxxxxxxxx> wrote:

> From: Cai Zhiyong <caizhiyong@xxxxxxxxxx>
>
> Read block device partition table from command line.
> The partition used for fixed block device (eMMC) embedded device.
> It is no MBR, save storage space. Bootloader can be easily accessed by
> absolute address of data on the block device.
> Users can easily change the partition.
>
> This code reference MTD partition, source "drivers/mtd/cmdlinepart.c"
> About the partition verbose reference "Documentation/block/cmdline-partition.txt"
>

Seems OK to me.

The obvious question is: can we consolidate this with
drivers/mtd/cmdlinepart.c in some fashion so the kernel doesn't have
two parsers which do the same thing?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/