cmd/bdinfo: extract print_bi_flash
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Jul 2016 00:57:21 +0000 (03:57 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 5 Aug 2016 11:27:26 +0000 (07:27 -0400)
commitf80e5359801b5edb705bd86b29bf3d9aff13990a
tree68163864763540cd6791f48fdb66ed0a0fc98cc4
parentfd60e99f5562a2c8e9a8850aa9214f0867876da4
cmd/bdinfo: extract print_bi_flash

print_bi_flash outputs flashstart, flashsize and flashoffset lines.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/bdinfo.c