Re: [PATCH] cmd:Elaborate ‘blkcache’ cmd HELP statement

Simon Glass sjg at chromium.org
Sat Jun 26 20:29:50 CEST 2021


+Heinrich Schuchardt

Hi,

On Tue, 1 Jun 2021 at 00:06, <opensource.kab at gmail.com> wrote:
>
> From: Adarsh Babu Kalepalli <opensource.kab at gmail.com>
>
> "HELP description is provided for ‘configure’ sub-command
> of ‘blkcache’.
>
> Signed-off-by: Adarsh Babu Kalepalli <opensource.kab at gmail.com>
> ---
>
>  cmd/blkcache.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/cmd/blkcache.c b/cmd/blkcache.c
> index 25f252e455..89ae52150a 100644
> --- a/cmd/blkcache.c
> +++ b/cmd/blkcache.c
> @@ -84,4 +84,5 @@ U_BOOT_CMD(
>         "block cache diagnostics and control",
>         "show - show and reset statistics\n"
>         "blkcache configure blocks entries\n"
> +       "       - configure 'max blocks/entry' to 'blocks' and 'max cache entries' to 'entries'\n"

How about something like this

>         "blkcache configure <blocks> <entries> - set max blocks per entry and max cache entries\n"


>  );
> --
> 2.17.1
>

Regards,
Simon


More information about the U-Boot mailing list