diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/prodrive/hermes/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/romstage.c b/src/mainboard/prodrive/hermes/romstage.c index a479bd51af..a3028c2dfd 100644 --- a/src/mainboard/prodrive/hermes/romstage.c +++ b/src/mainboard/prodrive/hermes/romstage.c @@ -83,7 +83,7 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) cannonlake_memcfg_init(&memupd->FspmConfig, &baseboard_mem_cfg); /* Tell FSP-M about the desired primary video adapter so that GGC is set up properly */ - if (board_cfg && board_cfg->primary_video == PRIMARY_VIDEO_INTEL) + if (board_cfg->primary_video == PRIMARY_VIDEO_INTEL) memupd->FspmConfig.PrimaryDisplay = 0; /* iGPU is primary */ /* Overwrite memupd */ |