]> git.dujemihanovic.xyz Git - u-boot.git/commit
command: Add constants for cmd_get_data_size string / error
authorSimon Glass <sjg@chromium.org>
Sun, 1 Nov 2020 21:15:36 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 1 Dec 2020 15:33:38 +0000 (10:33 -0500)
commit7526deec7e52da92dee25aaf3a47514e639c2bb0
tree7d6d7ebf4b1e2421986cd85ba96bfba8636a3a90
parent90a9901764d71308192c96ecd7d735531fe9cc30
command: Add constants for cmd_get_data_size string / error

At present these values are open-coded in a few places. Add constants so
the meaning is clear.

Also add a comment to cmd_get_data_size()

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/itest.c
cmd/mem.c
common/command.c
include/command.h