platform: generic: spacemit: k1: rename cache flush operation

MRAOP_ICACHE_INVALID is used to flush the local D-cache before a hart
stops, so the name incorrectly describes I-cache invalidation. Rename
it to MRAOP_CACHE_FLUSH without changing its encoded value.

Signed-off-by: Xianbin Zhu <xianbin.zhu@linux.spacemit.com>
Reviewed-by: E Shattow <e@freeshell.de>
Co-developed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Tested-by: E Shattow <e@freeshell.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20261028-spacemit-k3-v6-2-01d984f60941@linux.spacemit.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Xianbin Zhu authored and Anup Patel committed 2026-10-29 11:24:00 +05:30
1 parent 5dd2a0619e
commit 2c4172cd3c
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -20,8 +20,7 @@
/* ECC enable */
#define MSETUP_ECCE BIT(16)
/* icache invalidation */
#define MRAOP_ICACHE_INVALID GENMASK(1, 0)
#define MRAOP_CACHE_FLUSH GENMASK(1, 0)
#define PMU_AP_BASE 0xd4282800