summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-12-06 21:41:54 -0700
committerBin Meng <[email protected]>2019-12-15 11:44:11 +0800
commit3b65ee34b908ce0c495c25987f5feb37ac163eab (patch)
treeba7a13fb9a4254844237c545e40a4068dba0ff84 /cmd/Kconfig
parent6c6d88e142e8714ed88d051c524036ff17278390 (diff)
x86: sandbox: Add a PMC emulator and test
Add a simple PMC for sandbox to permit tests to run. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 1e4cf146c50..4e29e7b3c54 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -228,6 +228,14 @@ config CMD_LICENSE
help
Print GPL license text
+config CMD_PMC
+ bool "pmc"
+ help
+ Provides access to the Intel Power-Management Controller (PMC) so
+ that its state can be examined. This does not currently support
+ changing the state but it is still useful for debugging and seeing
+ what is going on.
+
config CMD_REGINFO
bool "reginfo"
depends on PPC