[U-Boot] [PATCH v2 2/4] fastboot: add support for writing MBR

Simon Glass sjg at chromium.org
Mon Sep 19 02:57:26 CEST 2016


On 9 September 2016 at 02:27, Petr Kulhavy <brain at jikos.cz> wrote:
> 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 at jikos.cz>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> v1: initial
> v2: no change
>
>  README                      |  7 +++++++
>  common/fb_mmc.c             | 40 ++++++++++++++++++++++++++++++++++------
>  disk/part_dos.c             | 20 ++++++++++++++++++++
>  doc/README.android-fastboot | 37 +++++++++++++++++++++++++++++++++++++
>  include/part.h              | 23 +++++++++++++++++++++++
>  5 files changed, 121 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list