diff options
author | Simon Glass <sjg@chromium.org> | 2021-09-20 00:49:33 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-11-29 02:51:51 +0300 |
commit | ad4e0100541eb8a19de00f56bda10be576a7cde6 (patch) | |
tree | 3437aa4cbf19a07b3c554f0ebaba9c0e9ae274c2 /cmd | |
parent | 6b03448713c20dd71ab6cc8e2c1c326db0148169 (diff) | |
download | u-boot-ad4e0100541eb8a19de00f56bda10be576a7cde6.tar.xz |
sf: Use const for the stage name
This is not updated at runtime so should be marked const. Update the code
accordingly.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -394,7 +394,7 @@ enum { STAGE_COUNT, }; -static char *stage_name[STAGE_COUNT] = { +static const char *stage_name[STAGE_COUNT] = { "erase", "check", "write", |