[PATCH 0/3] cmd: fix return code of sf command

Jagan Teki jagan at amarulasolutions.com
Thu Jan 26 16:36:14 CET 2023


On Mon, Jan 2, 2023 at 10:51 PM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> For 'sf write', 'sf read', 'sf erase' using excessive values of offset
> or size should not display the command usage but only the error message.
>
> Use CMD_RET_* constants.
> Simplify do_spi_flash().
>
> Heinrich Schuchardt (3):
>   cmd: fix return code of 'sf write' and 'sf read'
>   cmd: simplify do_spi_flash()
>   cmd: fix return code of 'sf erase'

Applied to u-boot-spi/master


More information about the U-Boot mailing list