From 99bb8a3211efab8b4ecf8e8e7382b4bd767810e1 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 11 Dec 2014 16:46:38 -0800 Subject: [PATCH] FSP: Properly display the FSP HOB List pointer in the tables Define the signature for the FSP HOB list pointer and add it to the table parser. BRANCH=none BUG=None TEST=Use the following steps to reproduce: 1. Get the private FSP parts 2. Copy configs/config.samus.fsp to configs/config.samus 3. Build and run on Samus 4. Test successful if the code attempts to load the payload Change-Id: I3e340289b0ba560147d9766583a82b783adb1605 Signed-off-by: Lee Leahy Reviewed-on: https://chromium-review.googlesource.com/234525 Reviewed-by: Duncan Laurie Commit-Queue: Leroy P Leahy Tested-by: Leroy P Leahy --- src/drivers/intel/fsp/fsp_hob.c | 2 -- src/include/cbmem.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/fsp/fsp_hob.c b/src/drivers/intel/fsp/fsp_hob.c index a64ac349a9..54df2497b3 100644 --- a/src/drivers/intel/fsp/fsp_hob.c +++ b/src/drivers/intel/fsp/fsp_hob.c @@ -45,8 +45,6 @@ are permitted provided that the following conditions are met: #include // hexdump #include -#define CBMEM_ID_HOB_LIST 0x486f624c /* HobL */ - void *fsp_hob_list_ptr CAR_GLOBAL; /* diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 58df163f4c..ae6a4a9953 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -58,6 +58,7 @@ #define CBMEM_ID_ELOG 0x454c4f47 #define CBMEM_ID_FREESPACE 0x46524545 #define CBMEM_ID_GDT 0x4c474454 +#define CBMEM_ID_HOB_LIST 0x486f624c #define CBMEM_ID_MEMINFO 0x494D454D #define CBMEM_ID_MPTABLE 0x534d5054 #define CBMEM_ID_MRCDATA 0x4d524344 @@ -101,6 +102,7 @@ struct cbmem_id_to_name { { CBMEM_ID_ELOG, "ELOG " }, \ { CBMEM_ID_FREESPACE, "FREE SPACE " }, \ { CBMEM_ID_GDT, "GDT " }, \ + { CBMEM_ID_HOB_LIST, "FSP HOB PTR" }, \ { CBMEM_ID_MEMINFO, "MEM INFO " }, \ { CBMEM_ID_MPTABLE, "SMP TABLE " }, \ { CBMEM_ID_MRCDATA, "MRC DATA " }, \