Re: [PATCH v2 03/10] driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 03/10] driver: cache: cache-v5l2:

[PATCH v2 03/10] driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform

2023-02-06 Thread Yu Chien Peter Lin
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 Reviewed-by: Leo Yu-Chi Liang --- drivers/cache/cache-v5l2.c | 32 +++