diff options
-rw-r--r-- | src/drivers/intel/fsp1_0/fsp_util.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/intel/fsp1_0/fsp_util.c b/src/drivers/intel/fsp1_0/fsp_util.c index 85ee9a9013..a3fef2db7c 100644 --- a/src/drivers/intel/fsp1_0/fsp_util.c +++ b/src/drivers/intel/fsp1_0/fsp_util.c @@ -214,10 +214,11 @@ void print_fsp_info(void) { if (fsp_header_ptr == NULL) fsp_header_ptr = (void *)find_fsp(); - if ((u32)fsp_header_ptr < 0xff) { - post_code(0x4F); /* output something in case there is no serial */ - die("Can't find the FSP!\n"); - } + + if ((u32)fsp_header_ptr < 0xff) { + post_code(0x4F); /* post code in case there is no serial */ + die("Can't find the FSP!\n"); + } if (FspHobListPtr == NULL) { FspHobListPtr = (void*)*((u32*) cbmem_find(CBMEM_ID_HOB_POINTER)); |