]> git.ipfire.org Git - people/ms/u-boot.git/commit
fastboot: add support for writing MBR
authorPetr Kulhavy <brain@jikos.cz>
Fri, 9 Sep 2016 08:27:16 +0000 (10:27 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:04:51 +0000 (20:04 -0400)
commitb6dd69a4d6b20862a2075f402f9edfb0de6d14ed
treecde16c70cc63077087cdfb209d812a1d7a5980b8
parent87b8530fe24408b0ef41c9b80f38c395ccafad2c
fastboot: add support for writing MBR

Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME)
to write MBR partition table.
Partitions are now searched using the generic function which finds any
partiiton by name. For MBR the partition names hda1, sda1, etc. are used.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Steve Rae <steve.rae@raedomain.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
README
common/fb_mmc.c
disk/part_dos.c
doc/README.android-fastboot
include/part.h