cache: aspeed: Fix typo of CACHE_ENABLE bit

Fix the typo "CCHE_EANABLE" in cache_instr_line_size_get.

Fixes: 74e1b1781a ("cache: aspeed: Rework driver")

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
This commit is contained in:
Dylan Hung 2023-03-30 14:32:47 +08:00 committed by Fabio Baltieri
commit 3cccf45507

View file

@ -325,6 +325,6 @@ size_t cache_instr_line_size_get(void)
syscon_read_reg(dev, CACHE_FUNC_CTRL_REG, &ctrl);
return (ctrl & CCHE_EANABLE) ? CACHE_LINE_SIZE : 0;
return (ctrl & CACHE_ENABLE) ? CACHE_LINE_SIZE : 0;
}
#endif /* CONFIG_ICACHE_LINE_SIZE_DETECT */