]> git.dujemihanovic.xyz Git - u-boot.git/commit
freescale: fix long help handling in mac command
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 30 Sep 2023 12:01:43 +0000 (14:01 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2023 14:22:11 +0000 (10:22 -0400)
commitf5e921e948149bdf7c5bb6b97647bc4712d5993a
treeaa064236c675accf461dabd4abd40547df1c4d88
parent8780cd8211066d70b5a496dfe7320b2a09271c62
freescale: fix long help handling in mac command

CONFIG_SYS_LONGHELP=n we want to reduce the size of the U-Boot binary.
The long text should be reduced to and empty string in this case.

There is not need to call cmd_usage() directly. It is sufficient to
return CMD_RET_USAGE.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
board/freescale/common/sys_eeprom.c