[PATCH 1/1] starfive: fix return code of `mac write_eeprom`
Hal Feng
hal.feng at starfivetech.com
Mon Aug 18 04:14:37 CEST 2025
> On 09.08.25 16:22, Heinrich Schuchardt wrote:
>
> When writing the EEPROM fails, the command usage help text is displayed
> after the error message. We should only display the error message instead.
>
> If writing the EEPROM fails, return CMD_RET_FAILURE (1) instead of
> CMD_RET_USAGE (-1).
>
> Fixes: aea1bd95b61e ("eeprom: starfive: Enable ID EEPROM configuration")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Hal Feng <hal.feng at starfivetech.com>
More information about the U-Boot
mailing list