22 Jan, 2014

1 commit

  • 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
    Cc: Ezequiel Garcia
    CC: Brian Norris
    Cc: "Wanglin (Albert)"
    Cc: Artem Bityutskiy
    Cc: Karel Zak
    Cc: Shmulik Ladkani
    Cc: David Woodhouse
    Cc: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Jens Axboe

    CaiZhiyong
     

12 Sep, 2013

1 commit

  • 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
    Cc: Karel Zak
    Cc: "Wanglin (Albert)"
    Cc: Marius Groeger
    Cc: David Woodhouse
    Cc: Jens Axboe
    Cc: Brian Norris
    Cc: Artem Bityutskiy
    Signed-off-by: Wei Yongjun
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cai Zhiyong