Skip to content

Commit 3b37eb9

Browse files
committed
Do not create coreboot table if using OpROM instead of GOP FB
1 parent 26e2745 commit 3b37eb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/coreboot.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ CbCheckSum16 (
3333

3434
int build_coreboot_table(struct csmwrap_priv *priv)
3535
{
36+
if (priv->video_type == CSMWRAP_VIDEO_OPROM) {
37+
return 0;
38+
}
39+
3640
void *p = (void *)CB_TABLE_START;
3741
void *tables;
3842
uint32_t table_entries = 0;

0 commit comments

Comments
 (0)