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:
parent
f423ec255f
commit
3cccf45507
1 changed files with 1 additions and 1 deletions
2
drivers/cache/cache_aspeed.c
vendored
2
drivers/cache/cache_aspeed.c
vendored
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue