public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v6 0/3] Add command for getting ramsize in scripts
@ 2026-01-25 13:12 Frank Wunderlich
  2026-01-25 13:12 ` [PATCH v6 1/3] cmd: mem: add command for getting ram size for use " Frank Wunderlich
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Frank Wunderlich @ 2026-01-25 13:12 UTC (permalink / raw)
  To: Tom Rini; +Cc: Frank Wunderlich, u-boot, Daniel Golle

From: Frank Wunderlich <frank-w@public-files.de>

Add command for getting ramsize in scripts

v6:
- add missing return for error in env_set_long
v5:
- move msize to meminfo and drop first param (always display as MiB)
- rename msize to memsize
- add doc and test so it becomes a series

Frank Wunderlich (3):
  cmd: mem: add command for getting ram size for use in scripts
  test: cmd: add test for memsize
  doc: cmd: add usage doc for memsize

 cmd/Kconfig               |  7 +++++++
 cmd/meminfo.c             | 25 +++++++++++++++++++++++
 doc/usage/cmd/memsize.rst | 43 +++++++++++++++++++++++++++++++++++++++
 test/cmd/meminfo.c        | 17 ++++++++++++++++
 4 files changed, 92 insertions(+)
 create mode 100644 doc/usage/cmd/memsize.rst

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-04 14:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-25 13:12 [PATCH v6 0/3] Add command for getting ramsize in scripts Frank Wunderlich
2026-01-25 13:12 ` [PATCH v6 1/3] cmd: mem: add command for getting ram size for use " Frank Wunderlich
2026-01-25 13:12 ` [PATCH v6 2/3] test: cmd: add test for memsize Frank Wunderlich
2026-02-03 23:34   ` Tom Rini
2026-02-04  6:40     ` Frank Wunderlich
2026-02-04 13:53       ` Tom Rini
2026-02-04 14:48         ` Frank Wunderlich
2026-02-04 14:51           ` Tom Rini
2026-01-25 13:12 ` [PATCH v6 3/3] doc: cmd: add usage doc " Frank Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox