[U-Boot] [PATCH 2/3] mmc: invalidate block cache after hwpart switched successfully

Felix Brack fb at ltec.ch
Tue Aug 27 08:22:49 UTC 2019

On 27.08.19 09:32, 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.gao at mediatek.com>
> ---
For the PDU001 board:

Tested-by: Felix Brack <fb at ltec.ch>

regards, Felix

More information about the U-Boot mailing list