]> git.baikalelectronics.ru Git - uboot.git/commit
fastboot: reinit partition after storing GPT or MBR
authorRoman Stratiienko <r.stratiienko@gmail.com>
Wed, 27 Jan 2021 15:40:16 +0000 (17:40 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 7 Feb 2021 18:22:55 +0000 (19:22 +0100)
commit4d0e6b4317b2bd4c04ce12e4b667c745a8d6df1b
tree1dd327126f127528236c0761e64899769bdc1c23
parent9289068f463e9c31093e8363b99d384d4aa94e5f
fastboot: reinit partition after storing GPT or MBR

In case MMC has MBR system and fastboot writes GPT,
MMC is still recognized as MBR.
Invoke part_init() to purge cached data and update
information about partition table type.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
drivers/fastboot/fb_mmc.c