Skip to content
Snippets Groups Projects
Select Git revision
  • 72a8cf8dccf6f8b86d1683205e032a94eaa86938
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
8 results

disk

Forked from Reform / reform-boundary-uboot
16992 commits behind the upstream repository.
user avatar
Erik Tideman authored
On bootup the emmc's hw partition is always set to 0 and the partition
table is read from it. When switching to another hw partition the
partition table's id is not updated but instead the old one from
hw partition 0 is used. If there is no partition table on hw partition 0
then the code will terminate and return error even if the desired hw
partition contains a perfectly fine partition table. This fix updates
the partition table struct to correspond to the specified hw partition
before testing if the partition table is valid or not.

Signed-off-by: default avatarErik Tideman <erik.tideman@faltcom.se>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
[trini: Squash the patch that corrected whitespace in the original into
this one, wrap with HAVE_BLOCK_DEVICE test]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
99e7fc8a
History