commit | c6f864e0d8966062ef2b9f26756a2eb6dfba527e | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Jan 02 18:21:15 2023 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Thu Jan 26 21:04:40 2023 +0530 |
tree | 061d7efffacd4aa97b6ae191d108c5653814dab9 | |
parent | b555e3669694aeb31f7d6099932c85a9c7755586 [diff] |
cmd: simplify do_spi_flash() CMD_RET_USAGE == -1. The special handling of this value at the end of do_spi_flash() does not make any sense. To avoid future confusion use the CMD_RET_* constants and simplify the code. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>