diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/fsp1_1/fsp_util.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/drivers/intel/fsp1_1/fsp_util.c b/src/drivers/intel/fsp1_1/fsp_util.c index 7dc16c3896..1c205ae24a 100644 --- a/src/drivers/intel/fsp1_1/fsp_util.c +++ b/src/drivers/intel/fsp1_1/fsp_util.c @@ -89,26 +89,26 @@ void print_fsp_info(FSP_INFO_HEADER *fsp_header) (u8)((fsp_header->ImageRevision >> 16) & 0xff), (u8)((fsp_header->ImageRevision >> 8) & 0xff), (u8)(fsp_header->ImageRevision & 0xff)); -#if CONFIG(DISPLAY_FSP_ENTRY_POINTS) - printk(BIOS_SPEW, "FSP Entry Points:\n"); - printk(BIOS_SPEW, " %p: Image Base\n", fsp_base); - printk(BIOS_SPEW, " %p: TempRamInit\n", - &fsp_base[fsp_header->TempRamInitEntryOffset]); - printk(BIOS_SPEW, " %p: FspInit\n", - &fsp_base[fsp_header->FspInitEntryOffset]); - if (fsp_header->HeaderRevision >= FSP_HEADER_REVISION_2) { - printk(BIOS_SPEW, " %p: MemoryInit\n", - &fsp_base[fsp_header->FspMemoryInitEntryOffset]); - printk(BIOS_SPEW, " %p: TempRamExit\n", - &fsp_base[fsp_header->TempRamExitEntryOffset]); - printk(BIOS_SPEW, " %p: SiliconInit\n", - &fsp_base[fsp_header->FspSiliconInitEntryOffset]); + if (CONFIG(DISPLAY_FSP_ENTRY_POINTS)) { + printk(BIOS_SPEW, "FSP Entry Points:\n"); + printk(BIOS_SPEW, " %p: Image Base\n", fsp_base); + printk(BIOS_SPEW, " %p: TempRamInit\n", + &fsp_base[fsp_header->TempRamInitEntryOffset]); + printk(BIOS_SPEW, " %p: FspInit\n", + &fsp_base[fsp_header->FspInitEntryOffset]); + if (fsp_header->HeaderRevision >= FSP_HEADER_REVISION_2) { + printk(BIOS_SPEW, " %p: MemoryInit\n", + &fsp_base[fsp_header->FspMemoryInitEntryOffset]); + printk(BIOS_SPEW, " %p: TempRamExit\n", + &fsp_base[fsp_header->TempRamExitEntryOffset]); + printk(BIOS_SPEW, " %p: SiliconInit\n", + &fsp_base[fsp_header->FspSiliconInitEntryOffset]); + } + printk(BIOS_SPEW, " %p: NotifyPhase\n", + &fsp_base[fsp_header->NotifyPhaseEntryOffset]); + printk(BIOS_SPEW, " %p: Image End\n", + &fsp_base[fsp_header->ImageSize]); } - printk(BIOS_SPEW, " %p: NotifyPhase\n", - &fsp_base[fsp_header->NotifyPhaseEntryOffset]); - printk(BIOS_SPEW, " %p: Image End\n", - &fsp_base[fsp_header->ImageSize]); -#endif } void fsp_notify(u32 phase) |