
8 Oct
2021
8 Oct
'21
2:40 p.m.
On Mon, Sep 20, 2021 at 3:19 AM Simon Glass sjg@chromium.org wrote:
This text should never change during execution, so it makes sense to use a const char * so that it can be declared as const in the code. Update struct cmd_tbl with a const char * pointer for 'help'.
We cannot make usage const because of the bmode command, used on mx53ppd for example.
Signed-off-by: Simon Glass sjg@chromium.org
(no changes since v2)
Changes in v2:
- Explain why 'usage' cannot be const
Reviewed-by: Jagan Teki jagan@amarulasolutions.com