aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/e820.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-05 14:50:50 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:10 +0800
commit631c2b9fc4978685885a826788ba05a5329c6418 (patch)
tree5ae71f177873f2aa4c16c695cec4f868087fc749 /arch/x86/include/asm/e820.h
parentf82cd7b725fc25a20a5ed32038650f15120336a9 (diff)
downloadu-boot-631c2b9fc4978685885a826788ba05a5329c6418.tar.gz
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>
Diffstat (limited to 'arch/x86/include/asm/e820.h')
-rw-r--r--arch/x86/include/asm/e820.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h
index 9d29f82f972..d7f8a4ba1df 100644
--- a/arch/x86/include/asm/e820.h
+++ b/arch/x86/include/asm/e820.h
@@ -8,6 +8,7 @@
#define E820_ACPI 3
#define E820_NVS 4
#define E820_UNUSABLE 5
+#define E820_COUNT 6 /* Number of types */
#ifndef __ASSEMBLY__
#include <linux/types.h>