diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-05-22 07:28:31 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-05-23 09:26:09 +0200 |
commit | dc893fc0c28b78e1bec4b55daa87470160ae2890 (patch) | |
tree | 06980308e234b0674de4dfa508d2683d744c6780 /commands | |
parent | f46b7783fada951058665613c6a127f3ac9073fe (diff) | |
download | barebox-dc893fc0c28b78e1bec4b55daa87470160ae2890.tar.gz barebox-dc893fc0c28b78e1bec4b55daa87470160ae2890.tar.xz |
ARM: prepare extending mmuinfo beyond ARMv7
There's no reason to restrict mmuinfo to ARMv7 or ARM at all for that
matter. Prepare extending it for ARMv8 support by splitting off the
32-bit parts.
While at it, make the output available for debuggin by exporting a
mmuinfo() function.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230522052835.1039143-8-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 76dfca2dfd..d657c90c1a 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -202,6 +202,7 @@ config CMD_MEMINFO config CMD_ARM_MMUINFO bool "mmuinfo command" depends on CPU_V7 + select MMUINFO help Say yes here to get a mmuinfo command to show some MMU and cache information using the cp15 registers. |