aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions/Kconfig
diff options
context:
space:
mode:
authorCai Zhiyong <caizhiyong@huawei.com>2013-09-11 17:20:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 18:56:57 -0400
commitbab55417b10c95e6bff8cea315c315adfa009487 (patch)
tree56bfc578d47c7ea786bf6a35bf946f37e9b458b1 /block/partitions/Kconfig
parented751e683c563be64322b9bfa0f0f7e5da9bd37c (diff)
block: support embedded device command line partition
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" [akpm@linux-foundation.org: fix printk text] [yongjun_wei@trendmicro.com.cn: fix error return code in parse_parts()] Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com> Cc: Karel Zak <kzak@redhat.com> Cc: "Wanglin (Albert)" <albert.wanglin@huawei.com> Cc: Marius Groeger <mag@sysgo.de> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Artem Bityutskiy <dedekind@infradead.org> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/partitions/Kconfig')
-rw-r--r--block/partitions/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/block/partitions/Kconfig b/block/partitions/Kconfig
index 4cebb2f0d2f4..87a32086535d 100644
--- a/block/partitions/Kconfig
+++ b/block/partitions/Kconfig
@@ -260,3 +260,10 @@ config SYSV68_PARTITION
260 partition table format used by Motorola Delta machines (using 260 partition table format used by Motorola Delta machines (using
261 sysv68). 261 sysv68).
262 Otherwise, say N. 262 Otherwise, say N.
263
264config CMDLINE_PARTITION
265 bool "Command line partition support" if PARTITION_ADVANCED
266 select CMDLINE_PARSER
267 help
268 Say Y here if you would read the partitions table from bootargs.
269 The format for the command line is just like mtdparts.