aboutsummaryrefslogtreecommitdiff
path: root/include/linux/cmdline-parser.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-21block: remove unrelated header files and export symbolCaiZhiyong1-4/+4
Fix up the following items: - remove unrelated header files. - export interface function. - modify function cmdline_parts_parse return value, this will make it more friendly for the caller. Signed-off-by: CaiZhiyong <[email protected]> Cc: Ezequiel Garcia <[email protected]> CC: Brian Norris <[email protected]> Cc: "Wanglin (Albert)" <[email protected]> Cc: Artem Bityutskiy <[email protected]> Cc: Karel Zak <[email protected]> Cc: Shmulik Ladkani <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2013-11-15cmdline-parser: fix buildAlexander Beregalov1-0/+2
Fix following errors: include/linux/cmdline-parser.h:17:12: error: 'BDEVNAME_SIZE' undeclared here block/cmdline-parser.c:17:2: error: implicit declaration of function 'kzalloc' Signed-off-by: Alexander Beregalov <[email protected]> Cc: CaiZhiyong <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2013-09-11block: support embedded device command line partitionCai Zhiyong1-0/+43
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]>