Heinrich Schuchardt 909ceacf4a starfive: fix return code of mac write_eeprom
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@canonical.com>
Acked-by: E Shattow <e@freeshell.de>
2025-08-14 15:33:00 +08:00
..
2024-10-03 09:29:23 -06:00
2025-05-09 15:05:14 -06:00
2025-05-09 15:05:14 -06:00
2025-07-08 13:10:03 -06:00
2025-06-02 17:26:16 -06:00
2024-07-22 10:51:47 -06:00
2025-06-02 17:26:16 -06:00
2025-07-08 13:11:12 -06:00
2025-05-09 15:05:14 -06:00
2025-07-29 17:02:31 +02:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00