commit | 31e1bd0a3dd9d6d98936803b751f5d376780af8a | [log] [tgz] |
---|---|---|
author | Yu Chien Peter Lin <peterlin@andestech.com> | Mon Feb 06 16:10:46 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Fri Feb 17 19:07:48 2023 +0800 |
tree | 6f173568d9d12c2dfc77747f2f3e48144782d080 | |
parent | 39689a96455cdc24f9bbf3ddaabbfb651063ec1c [diff] |
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>