summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-05-22 07:28:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-23 09:26:09 +0200
commit17cdbbe98603ee5ef92d143d6da1f63d3bf0c16c (patch)
tree45d483734046e0d6d1f0bbe97e211a67caab0b02 /commands
parentdc893fc0c28b78e1bec4b55daa87470160ae2890 (diff)
downloadbarebox-17cdbbe98603ee5ef92d143d6da1f63d3bf0c16c.tar.gz
barebox-17cdbbe98603ee5ef92d143d6da1f63d3bf0c16c.tar.xz
ARM64: mmu: implement ARMv8 mmuinfo command
To aid with debugging of MMU code, let's implement mmuinfo for ARMv8, like we already support for ARMv7. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230522052835.1039143-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index d657c90c1a..fcc48ce4a4 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -201,13 +201,13 @@ config CMD_MEMINFO
config CMD_ARM_MMUINFO
bool "mmuinfo command"
- depends on CPU_V7
+ depends on CPU_V7 || CPU_V8
select MMUINFO
help
Say yes here to get a mmuinfo command to show some
- MMU and cache information using the cp15 registers.
+ MMU and cache information using the cp15/model-specific registers.
- Example:
+ Example for ARMv7:
PAR result for 0x00110000:
privileged read: 0x00110090