On Tue, Aug 27, 2019 at 03:32:19PM +0800, Weijie Gao wrote: > eMMC device has multiple hw partitions both address from zero. However the > mmc driver lacks block cache invalidation for switch hwpart. This causes a > problem that data of current hw partition is cached before switching to > another hw partition. And the following read operation of the latter hw > partition will get wrong data when reading from the addresses that have > been cached previously. > > To solve this problem, invalidate block cache after a successful > mmc_switch_part() operation. > > Signed-off-by: Weijie Gao <weijie....@mediatek.com> > Tested-by: Felix Brack <f...@ltec.ch>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot