summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-13 10:28:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-14 10:03:47 +0200
commitd4ee397fdba392307982c12d58fb33ca239892e2 (patch)
treed4a38c24b4a8f394fc6ec1ee9e1cea7aa87f6de7 /commands/Kconfig
parent65fd693b727117788e8176ee32bd6b79d3c40fe4 (diff)
downloadbarebox-d4ee397fdba392307982c12d58fb33ca239892e2.tar.gz
barebox-d4ee397fdba392307982c12d58fb33ca239892e2.tar.xz
commands: move CMD_ARM_MMUINFO to commands/Kconfig
* this places the command into the "Information commands" section of Kconfig * while at it, imprive Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig33
1 files changed, 33 insertions, 0 deletions
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