9
0
Fork 0

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>
This commit is contained in:
Holger Schurig 2014-05-13 10:28:47 +02:00 committed by Sascha Hauer
parent 65fd693b72
commit d4ee397fdb
2 changed files with 33 additions and 8 deletions

View File

@ -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

View File

@ -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