[U-Boot] [U-Boot,v2] cmd_fuse: return CMD_RET_FAILURE on error
Tom Rini
trini at ti.com
Mon Dec 8 22:42:12 CET 2014
On Thu, Nov 20, 2014 at 09:27:42AM +0100, Hector Palacios wrote:
> Fuse drivers, like the mxs_ocotp.c, may return negative error codes but
> the commands are only allowed to return CMD_RET_* enum values to the
> shell, otherwise the following error appears:
>
> "exit not allowed from main input shell."
>
> Signed-off-by: Hector Palacios <hector.palacios at digi.com>
> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141208/5d7cd50e/attachment.pgp>
More information about the U-Boot
mailing list