]> git.ipfire.org Git - people/ms/u-boot.git/commit
bdinfo: Don't print out empty DRAM banks
authorSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2016 03:57:27 +0000 (21:57 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 16 Aug 2016 03:44:09 +0000 (11:44 +0800)
commitddd917b8fa32c3ef5e2609282d7e5d8f299f1872
tree3018026cf73d6855fafbdbc4d62951f65a65cac3
parentc2147e26d99652e2f9691ae852af823ec49fdbeb
bdinfo: Don't print out empty DRAM banks

There is no sense in printing out DRAM banks of size 0 since this means they
are empty. Skip them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/bdinfo.c