[PATCH v2 6/7] cmd: Move meminfo command into its own file
Tom Rini
trini at konsulko.com
Sat Oct 12 03:40:08 CEST 2024
On Fri, Oct 11, 2024 at 03:40:30PM -0600, Simon Glass wrote:
> In preparation for expanding this command, move it into a separate file.
> Rename the function to remove the extra underscore. Update the number of
> arguments to 1, since 3 is incorrect.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Split into its own patch
>
> cmd/Kconfig | 1 +
> cmd/Makefile | 1 +
> cmd/mem.c | 19 -------------------
> cmd/meminfo.c | 26 ++++++++++++++++++++++++++
> 4 files changed, 28 insertions(+), 19 deletions(-)
> create mode 100644 cmd/meminfo.c
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 37894eb80d6..2fd29e9fa88 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -878,6 +878,7 @@ config MD5SUM_VERIFY
>
> config CMD_MEMINFO
> bool "meminfo"
> + default y if SANDBOX
This should be default y for everyone, to keep compatibility, and then
your enhancements should be a new option.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241011/2aadc026/attachment.sig>
More information about the U-Boot
mailing list