commit | 9b7245794dade8477dc8bbabb915261df4ebada1 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Sep 19 15:49:32 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Nov 28 16:51:51 2021 -0700 |
tree | 4c260e7ce1f80944bc416059c070097825447c27 | |
parent | 101e68e37324f9d9cd7779ae7eff6848989c8131 [diff] |
command: Use a constant pointer for the help 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> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>