bootm: Use size rather than length for CONSOLE_ARG
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 17:33:42 +0000 (10:33 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 4 Dec 2020 21:09:26 +0000 (16:09 -0500)
commit6cd92b1a7c62dc808e74f4638a027da3f6a044ce
tree393e414218c13befb563cc4f1fedc951398b1619
parentd9477a0a4d4c4561941007a8b3db588385aaad07
bootm: Use size rather than length for CONSOLE_ARG

Use the size (including terminator) for in this function, rather than
the length. This is arguably easier to follow, with the coming
refactor.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootm.c