Re: [PATCH v4 1/5] command: Use a constant pointer for the help

2021-11-24 Thread Simon Glass
On 9/19/21 23:49, Simon Glass 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 comma

Re: [PATCH v4 1/5] command: Use a constant pointer for the help

2021-11-24 Thread Simon Glass
On 9/19/21 23:49, Simon Glass 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 comma

Re: [PATCH v4 1/5] command: Use a constant pointer for the help

2021-11-13 Thread Heinrich Schuchardt
On 9/19/21 23:49, Simon Glass 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,

Re: [PATCH v4 1/5] command: Use a constant pointer for the help

2021-10-08 Thread Jagan Teki
On Mon, Sep 20, 2021 at 3:19 AM Simon Glass 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 o

[PATCH v4 1/5] command: Use a constant pointer for the help

2021-09-19 Thread Simon Glass
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-b