public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Add command for getting ramsize in scripts
@ 2026-02-04 18:40 Frank Wunderlich
  2026-02-04 18:40 ` [PATCH v7 1/3] cmd: mem: add command for getting ram size for use " Frank Wunderlich
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Frank Wunderlich @ 2026-02-04 18:40 UTC (permalink / raw)
  To: Tom Rini; +Cc: Frank Wunderlich, u-boot, Daniel Golle, Simon Glass

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

Add command for getting ramsize in scripts

v7:
- add guard for test to not fail for x86_64 qemu board
- extend doc and config help text
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               |  8 ++++++++
 cmd/meminfo.c             | 25 +++++++++++++++++++++++
 doc/usage/cmd/memsize.rst | 43 +++++++++++++++++++++++++++++++++++++++
 test/cmd/meminfo.c        | 20 ++++++++++++++++++
 4 files changed, 96 insertions(+)
 create mode 100644 doc/usage/cmd/memsize.rst

-- 
2.43.0


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

end of thread, other threads:[~2026-02-08  0:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-04 18:40 [PATCH v7 0/3] Add command for getting ramsize in scripts Frank Wunderlich
2026-02-04 18:40 ` [PATCH v7 1/3] cmd: mem: add command for getting ram size for use " Frank Wunderlich
2026-02-04 18:40 ` [PATCH v7 2/3] test: cmd: add test for memsize Frank Wunderlich
2026-02-04 18:40 ` [PATCH v7 3/3] doc: cmd: add usage doc " Frank Wunderlich
2026-02-08  0:27 ` [PATCH v7 0/3] Add command for getting ramsize in scripts Tom Rini

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