summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/Kconfig8
-rw-r--r--commands/Kconfig33
2 files changed, 33 insertions, 8 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f8f3da02cf..73c7382630 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -256,14 +256,6 @@ endmenu
menu "Arm specific settings"
-config CMD_ARM_MMUINFO
- bool "mmuinfo command"
- depends on CPU_V7
- default n
- help
- Say yes here to get a mmuinfo command to show some
- MMU and cache information using the cp15 registers
-
config CPU_V7_DCACHE_SKIP
bool "Skip DCache Invalidate"
depends on CPU_V7
diff --git a/commands/Kconfig b/commands/Kconfig
index ce1ff0443a..3b4f2a7467 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -91,6 +91,39 @@ config CMD_MEMINFO
system bytes = 282616
in use bytes = 274752
+config CMD_ARM_MMUINFO
+ bool "mmuinfo command"
+ depends on CPU_V7
+ help
+ Say yes here to get a mmuinfo command to show some
+ MMU and cache information using the cp15 registers.
+
+ Example:
+
+ PAR result for 0x00110000:
+ privileged read: 0x00110090
+ Physical Address [31:12]: 0x00110000
+ Reserved [11]: 0x0
+ Not Outer Shareable [10]: 0x0
+ Non-Secure [9]: 0x0
+ Impl. def. [8]: 0x0
+ Shareable [7]: 0x1
+ Inner mem. attr. [6:4]: 0x1 (0b001 Strongly-ordered)
+ Outer mem. attr. [3:2]: 0x0 (0b00 Non-cacheable)
+ SuperSection [1]: 0x0
+ Failure [0]: 0x0
+ privileged write: 0x00110090
+ Physical Address [31:12]: 0x00110000
+ Reserved [11]: 0x0
+ Not Outer Shareable [10]: 0x0
+ Non-Secure [9]: 0x0
+ Impl. def. [8]: 0x0
+ Shareable [7]: 0x1
+ Inner mem. attr. [6:4]: 0x1 (0b001 Strongly-ordered)
+ Outer mem. attr. [3:2]: 0x0 (0b00 Non-cacheable)
+ SuperSection [1]: 0x0
+ Failure [0]: 0x0
+
config CMD_REGINFO
depends on HAS_REGINFO
select REGINFO