x86: Add a simple command to show FSP HOB information
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Dec 2014 13:05:32 +0000 (21:05 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 14 Dec 2014 05:32:06 +0000 (22:32 -0700)
commitba7b38a5295d9bad1a95f53f0a3ade20441a3831
treee95c80d7c8a21dc646f15f71fa6f709931ac8359
parentbceb9f0fc80c71b8b2a7371288199cdacca1bad9
x86: Add a simple command to show FSP HOB information

FSP builds a series of data structures called the Hand-Off-Blocks
(HOBs) as it progresses through initializing the silicon. These data
structures conform to the HOB format as described in the Platform
Initialization (PI) specification Volume 3 Shared Architectual
Elements specification, which is part of the UEFI specification.

Create a simple command to parse the HOB list to display the HOB
address, type and length in bytes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/Makefile
arch/x86/lib/cmd_hob.c [new file with mode: 0644]