]> Git Repo - linux.git/commit
block: support embedded device command line partition
authorCai Zhiyong <[email protected]>
Wed, 11 Sep 2013 21:20:09 +0000 (14:20 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:56:57 +0000 (15:56 -0700)
commitbab55417b10c95e6bff8cea315c315adfa009487
tree56bfc578d47c7ea786bf6a35bf946f37e9b458b1
parented751e683c563be64322b9bfa0f0f7e5da9bd37c
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"

[[email protected]: fix printk text]
[[email protected]: fix error return code in parse_parts()]
Signed-off-by: Cai Zhiyong <[email protected]>
Cc: Karel Zak <[email protected]>
Cc: "Wanglin (Albert)" <[email protected]>
Cc: Marius Groeger <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/block/cmdline-partition.txt [new file with mode: 0644]
block/Kconfig
block/Makefile
block/cmdline-parser.c [new file with mode: 0644]
block/partitions/Kconfig
block/partitions/Makefile
block/partitions/check.c
block/partitions/cmdline.c [new file with mode: 0644]
block/partitions/cmdline.h [new file with mode: 0644]
include/linux/cmdline-parser.h [new file with mode: 0644]
This page took 0.055241 seconds and 4 git commands to generate.