cmd: Add an indication of 32/64-bit to bdinfo
authorSimon Glass <sjg@chromium.org>
Fri, 1 May 2020 04:02:13 +0000 (22:02 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:28:28 +0000 (15:28 +0800)
commit8d99d5434b1c98c832f7a1aa0a0e0c9ab4c284a1
treeeb2796bed3b656972c8e464f537d299be586eef7
parentb4d4f592b243d08791ce582073710444ede48446
cmd: Add an indication of 32/64-bit to bdinfo

It is useful to know what mode U-Boot is running in. Add a message at the
end of the 'bdinfo' output.

Suggested-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: change commit tag to 'cmd' as this is not x86 specific]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
cmd/bdinfo.c