board: vexpress_ca9x4: Enable D-cache and MMU
authorMark Kettenis <kettenis@openbsd.org>
Sat, 12 Jul 2025 18:52:27 +0000 (20:52 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Jul 2025 16:56:28 +0000 (10:56 -0600)
commit3b4604a40b9fd61b87e9d059fc56f04d36f1a380
treeb8338bc847f719f9bf2c395af082d8526694a1a2
parentf1c03778a4be8e08decf88f6b2018b90f6662090
board: vexpress_ca9x4: Enable D-cache and MMU

Enable the D-cache, which will also enable the MMU.  The latter
make sure we don't do unaligned access on Strongly-ordered memory,
which has UNPREDICTABLE behaviour according the architecture
definition.  This fixes using U-Boot with recent versions of
QEMU's vexpress-ca9 emulation.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
board/armltd/vexpress/vexpress_common.c