On Tue, Oct 10, 2017 at 10:01:46AM +0200, Alexander Graf wrote: > > When searching for partitions don't stop if a partition is not present > > for a given partition number as there may be valid partitions after. > > > > Search for up to MAX_SEARCH_PARTITIONS matching the other callers of > > part_get_info(). > > > > This allows OpenBSD to boot via the efi_loader on rpi_3 again after > > changes made after U-Boot 2017.09. With MBR partitioning OpenBSD will > > by default use the fourth partition for the 0xA6 (OpenBSD) partition. > > > > Signed-off-by: Jonathan Gray <j...@jsg.id.au> > > Thanks, applied to efi-next > > Alex >
Thanks, looking over it again I realised one of the loops is now incrementing the partition number twice per loop so I have sent a further patch to the list to correct that.
>From 18d6201e4e09b9e8d6bc418b23029280a29eb015 Mon Sep 17 00:00:00 2001 From: Jonathan Gray <j...@jsg.id.au> Date: Tue, 10 Oct 2017 21:25:16 +1100 Subject: [PATCH] efi_loader: don't increment part twice per loop Correct a mistake in the part number handling of 16a73b249d138fedeb188710533902ed7aac1ddc and only increment part once per loop. Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- lib/efi_loader/efi_disk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index 6b192701a8..e61dbc8058 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib/efi_loader/efi_disk.c @@ -360,7 +360,6 @@ int efi_disk_register(void) continue; efi_disk_add_dev(devname, if_typename, desc, i, 0, part); - part++; } /* ... and add block device: */ -- 2.14.2
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot