x86: e820: Add a function to dump the e820 table
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:25:52 +0000 (14:25 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000 (11:41 -0600)
commit1e559930f7d0ab846723fcff52849e8bcacaa57b
tree39211be91baaf1882a0a139bb236ce6fb28914bc
parent9a04b9a4392fc0ee49596bb63b7706beb29034de
x86: e820: Add a function to dump the e820 table

There is already code for this in zimage. Move it to the e820 file so
it can be used elsewhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/e820.h
arch/x86/lib/e820.c
arch/x86/lib/zimage.c