]> git.baikalelectronics.ru Git - uboot.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)
commit230b834c6c12f66aabcaf3cda5bf1b73ce7f1cfe
tree7d6d7ebf4b1e2421986cd85ba96bfba8636a3a90
parent60721e9b70d407d022c575ab3c4f4e9d3f0ab89f
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