]> git.baikalelectronics.ru Git - uboot.git/commit
mbr: Correct verification check
authorSimon Glass <sjg@chromium.org>
Sat, 23 Oct 2021 23:26:01 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000 (16:51 -0700)
commitcbaffa7b65b997e15daee4bbbfb8a17b50ef209c
tree0692150833dfeafc8237b52a0589028b0bf11892
parent7dda2bd0292e7ab2f4c03a334acf1ebcdbdaf521
mbr: Correct verification check

At present this command considers the partitions to be identical if the
start and size are smaller than expected. It should check that they are
the same. Fix this and tidy up the code style a little.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/mbr.c