FW_CFG_MAX_ENTRY should obviously be the last entry. Signed-off-by: Nadav Amit <namit@xxxxxxxxxx> --- lib/x86/fwcfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/x86/fwcfg.h b/lib/x86/fwcfg.h index 64d4c6e..8095d8a 100644 --- a/lib/x86/fwcfg.h +++ b/lib/x86/fwcfg.h @@ -20,8 +20,8 @@ #define FW_CFG_NUMA 0x0d #define FW_CFG_BOOT_MENU 0x0e #define FW_CFG_MAX_CPUS 0x0f -#define FW_CFG_MAX_ENTRY 0x10 -#define FW_CFG_MAX_RAM 0x11 +#define FW_CFG_MAX_RAM 0x10 +#define FW_CFG_MAX_ENTRY 0x11 #define FW_CFG_WRITE_CHANNEL 0x4000 #define FW_CFG_ARCH_LOCAL 0x8000 -- 2.25.1