]> git.dujemihanovic.xyz Git - u-boot.git/commit
ufs: Implement cache management
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 16 Aug 2023 15:05:55 +0000 (17:05 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 Aug 2023 17:47:44 +0000 (13:47 -0400)
commitc5b3e5cd3d573bd3615c09f1aaa19291608e2093
treed33747464a80f321ea3feac3de85ddfb65d1c2a9
parent12675cb100a860ec7f8fe6df36bb0f7602797e29
ufs: Implement cache management

Add function to flush and invalidate cache over request and response
queue entries, and perform flush and optional invalidate over block
layer data that are passed into the UFS layer. This makes it possible
to use UFS with caches enabled.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
drivers/ufs/ufs.c