1. 21 Jan, 2014 1 commit
    • CaiZhiyong's avatar
      block: remove unrelated header files and export symbol · bca266b3
      CaiZhiyong authored
      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: default avatarCaiZhiyong <caizhiyong@huawei.com>
      Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
      CC: Brian Norris <computersforpeace@gmail.com>
      Cc: "Wanglin (Albert)" <albert.wanglin@hisilicon.com>
      Cc: Artem Bityutskiy <dedekind1@gmail.com>
      Cc: Karel Zak <kzak@redhat.com>
      Cc: Shmulik Ladkani <shmulik.ladkani@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      bca266b3
  2. 14 Nov, 2013 1 commit
  3. 11 Sep, 2013 1 commit
    • Cai Zhiyong's avatar
      block: support embedded device command line partition · bab55417
      Cai Zhiyong authored
      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: default avatarCai 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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bab55417