
27 Aug
2019
27 Aug
'19
10:22 a.m.
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@mediatek.com
For the PDU001 board:
Tested-by: Felix Brack fb@ltec.ch
regards, Felix