]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/Kconfig
Move setexpr to Kconfig
[people/ms/u-boot.git] / common / Kconfig
index 0a4652b3143b32dca42f030e397d06e32a3ecbed..2e3b8c082a1d220301ea356d1699ed250e29b4d3 100644 (file)
@@ -31,6 +31,14 @@ config CMD_CONSOLE
        help
          Print console devices and information.
 
+config CMD_CPU
+       bool "cpu"
+       help
+         Print information about available CPUs. This normally shows the
+         number of CPUs, type (e.g. manufacturer, architecture, product or
+         internal name) and clock frequency. Other information may be
+         available depending on the CPU driver.
+
 config CMD_LICENSE
        bool "license"
        help
@@ -244,6 +252,14 @@ config CMD_SOURCE
        help
          Run script from memory
 
+config CMD_SETEXPR
+       bool "setexpr"
+       help
+         Evaluate boolean and math expressions and store the result in an env
+           variable.
+         Also supports loading the value at a memory location into a variable.
+         If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
+
 endmenu
 
 menu "Network commands"
@@ -300,11 +316,6 @@ config CMD_DNS
        help
          Lookup the IP of a hostname
 
-config CMD_DNS
-       bool "dns"
-       help
-         Lookup the IP of a hostname
-
 config CMD_LINK_LOCAL
        bool "linklocal"
        help
@@ -339,6 +350,16 @@ config CMD_SETGETDCR
          getidcr - Get a register value via indirect DCR addressing
          setidcr - Set a register value via indirect DCR addressing
 
+config CMD_SOUND
+       bool "sound"
+       depends on SOUND
+       help
+         This provides basic access to the U-Boot's sound support. The main
+         feature is to play a beep.
+
+            sound init   - set up sound system
+            sound play   - play a sound
+
 endmenu
 
 menu "Boot timing"
@@ -447,4 +468,40 @@ config BOOTSTAGE_STASH_SIZE
 
 endmenu
 
+menu "Power commands"
+config CMD_PMIC
+       bool "Enable Driver Model PMIC command"
+       depends on DM_PMIC
+       help
+         This is the pmic command, based on a driver model pmic's API.
+         Command features are unchanged:
+         - list               - list pmic devices
+         - pmic dev <id>      - show or [set] operating pmic device (NEW)
+         - pmic dump          - dump registers
+         - pmic read address  - read byte of register at address
+         - pmic write address - write byte to register at address
+         The only one change for this command is 'dev' subcommand.
+
+config CMD_REGULATOR
+       bool "Enable Driver Model REGULATOR command"
+       depends on DM_REGULATOR
+       help
+         This command is based on driver model regulator's API.
+         User interface features:
+         - list               - list regulator devices
+         - regulator dev <id> - show or [set] operating regulator device
+         - regulator info     - print constraints info
+         - regulator status   - print operating status
+         - regulator value <val] <-f> - print/[set] voltage value [uV]
+         - regulator current <val>    - print/[set] current value [uA]
+         - regulator mode <id>        - print/[set] operating mode id
+         - regulator enable           - enable the regulator output
+         - regulator disable          - disable the regulator output
+
+         The '-f' (force) option can be used for set the value which exceeds
+         the limits, which are found in device-tree and are kept in regulator's
+         uclass platdata structure.
+
+endmenu
+
 endmenu