riscv: ae350: enable Coherence Manager for ae350
authorLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 23 Sep 2021 02:34:29 +0000 (10:34 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 7 Oct 2021 08:08:23 +0000 (16:08 +0800)
commit1b2b52f29402b5aaccccadfe4ba11bd3f29bd414
tree75ea296bb71b6f5ab86b82979304576f04caaa66
parentb11f42015f82904f72cbd5a25032c0d82402a423
riscv: ae350: enable Coherence Manager for ae350

If Coherence Manager were not set in the beginning,
u-boot-spl would sometimes fail to boot to u-boot proper.

Enable CM and I/D cache at the same time in harts_early_init

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/cpu/ax25/cpu.c