This patchset adds the param dos_partitions to the mci device node. By setting this param with the standard cmdlinepart notation, it is possible to rewrite the MBR partition layout on runtime. Michael Grzeschik (4): partitions: add DEVFS_PARTITION_IN_PT flag cmdlinepart: add option to set DEVFS_PARTITION_IN_PT flag partitions/dos: add function to write partition table mci: add MBR write and read function to block devices common/partitions.c | 2 +- common/partitions/dos.c | 71 ++++++++++++++++++++++++++++ drivers/mci/mci-core.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++ include/cmdlinepart.h | 1 + include/disks.h | 1 + include/driver.h | 1 + lib/cmdlinepart.c | 3 ++ 7 files changed, 200 insertions(+), 1 deletion(-) -- 2.9.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox