]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform
authorYu Chien Peter Lin <peterlin@andestech.com>
Mon, 6 Feb 2023 08:10:46 +0000 (16:10 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 17 Feb 2023 11:07:48 +0000 (19:07 +0800)
commit51415fa634d2ff0e2d10eeefb739cdb941d19412
tree6f173568d9d12c2dfc77747f2f3e48144782d080
parente74e21ceb3fe476e09b4068b4f986aabed2c9463
driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform

The L2C configuration register has MAP field to indicate its version
is v0 (Gen1) or v1 (Gen2) L2-cache. This patch makes the driver
compatible with both memory-mapped scheme.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
drivers/cache/cache-v5l2.c