diff options
| author | Tom Rini <[email protected]> | 2026-02-07 11:51:43 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-02-07 11:51:43 -0600 |
| commit | b887a1c1a1110582d178faad4397a0197938454e (patch) | |
| tree | 6f902115518ca668333f34095442b95646c71af1 /cmd/Kconfig | |
| parent | 2ffab9da9142c03dc0f2ce056ccd2b0f43c02742 (diff) | |
| parent | b4842032d542cfde271aab61b80ab870b27b07b2 (diff) | |
Merge patch series "Add command for getting ramsize in scripts"
Frank Wunderlich <[email protected]> says:
Add command for getting ramsize in scripts
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'cmd/Kconfig')
| -rw-r--r-- | cmd/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index cc4dd5a3163..322ebe600c5 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -940,6 +940,14 @@ config CMD_MEMINFO_MAP See doc/usage/cmd/meminfo.rst for more information. +config CMD_MEMSIZE + bool "memsize" + default y if SANDBOX + depends on CMD_MEMINFO + help + Get RAM via command for use in scripts. Print or assign decimal value + in MiB to environment variable. + config CMD_MEMORY bool "md, mm, nm, mw, cp, cmp, base, loop" default y |
