Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755713Ab3HEWWL (ORCPT ); Mon, 5 Aug 2013 18:22:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43313 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755657Ab3HEWWI (ORCPT ); Mon, 5 Aug 2013 18:22:08 -0400 Date: Mon, 5 Aug 2013 15:22:06 -0700 From: Andrew Morton To: Caizhiyong Cc: Karel Zak , "linux-kernel@vger.kernel.org" , "Wanglin (Albert)" , Quyaxin , Jens Axboe , David Woodhouse , Marius Groeger Subject: Re: [PATCH] block: support embedded device command line partition Message-Id: <20130805152206.76462cc4a42e51b16a0532f1@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 25 On Sat, 3 Aug 2013 09:57:04 +0000 Caizhiyong wrote: > From: Cai Zhiyong > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/