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

2019-09-02 Thread Tom Rini
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

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

2019-08-27 Thread Felix Brack
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

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

2019-08-27 Thread Weijie Gao
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