x86: zboot: Add an option to dump the setup information
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:50 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:10 +0000 (11:27 +0800)
commit631c2b9fc4978685885a826788ba05a5329c6418
tree5ae71f177873f2aa4c16c695cec4f868087fc749
parentf82cd7b725fc25a20a5ed32038650f15120336a9
x86: zboot: Add an option to dump the setup information

There is a lot of information in the setup block and it is quite hard to
decode manually. Add a 'zboot dump' command to decode it into a
human-readable format.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/e820.h
arch/x86/lib/zimage.c