x86: cmd: hob: Fix display of resource type for system memory
authorBin Meng <bmeng.cn@gmail.com>
Sat, 31 Jul 2021 08:45:28 +0000 (16:45 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 07:11:41 +0000 (15:11 +0800)
commit53094331ff3065c4ab51e1442927b1af2b276778
tree36ed5d3c7bf024e718b9d429c127fd73d62f6545
parent2ab1ffa5556ccd49aa2b5e4a6cca8ab14072e860
x86: cmd: hob: Fix display of resource type for system memory

The resource type for system memory is currently displayed as
"unknown", which is wrong.

Fixes: 51af144eb7a0 ("x86: Allow showing details about a HOB entry")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: Simon Glass <sjg@chromium.org>
cmd/x86/hob.c