From 2d24146aef39ef5a6b1d061a81c8c9e333886b5c Mon Sep 17 00:00:00 2001 From: Nikolai Vyssotski Date: Thu, 11 Feb 2021 20:08:22 -0600 Subject: soc/amd: GOP: add UPD for VBIOS buffer This UPD will be used to pass VBIOS buffer pointer to FSP PEI GOP driver. BUG=b:171234996 BRANCH=Zork Change-Id: I0c5d4a9d96e5c3d47e262072b689ed62e59129b3 Signed-off-by: Nikolai Vyssotski Reviewed-on: https://review.coreboot.org/c/coreboot/+/49866 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/vendorcode/amd/fsp/cezanne/FspsUpd.h | 4 ++-- src/vendorcode/amd/fsp/picasso/FspsUpd.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/vendorcode/amd/fsp') diff --git a/src/vendorcode/amd/fsp/cezanne/FspsUpd.h b/src/vendorcode/amd/fsp/cezanne/FspsUpd.h index d4f8aeaa82..7025485e0c 100644 --- a/src/vendorcode/amd/fsp/cezanne/FspsUpd.h +++ b/src/vendorcode/amd/fsp/cezanne/FspsUpd.h @@ -51,8 +51,8 @@ typedef struct __packed { /** Offset 0x0128**/ uint8_t gnb_ioapic_id; /** Offset 0x0129**/ uint8_t fch_ioapic_id; /** Offset 0x012A**/ uint8_t UnusedUpdSpace0[6]; - /** Offset 0x0130**/ uint8_t unused4[16]; - /** Offset 0x0140**/ uint8_t UnusedUpdSpace1[16]; + /** Offset 0x0130**/ uint32_t vbios_buffer_addr; + /** Offset 0x0134**/ uint8_t UnusedUpdSpace1[28]; /** Offset 0x0150**/ uint16_t UpdTerminator; } FSP_S_CONFIG; diff --git a/src/vendorcode/amd/fsp/picasso/FspsUpd.h b/src/vendorcode/amd/fsp/picasso/FspsUpd.h index 5aebf11b9e..4b6db36878 100644 --- a/src/vendorcode/amd/fsp/picasso/FspsUpd.h +++ b/src/vendorcode/amd/fsp/picasso/FspsUpd.h @@ -65,7 +65,9 @@ typedef struct __packed { /** Offset 0x014A**/ uint8_t usb_3_rx_vref_ctrl_en_x; /** Offset 0x014B**/ uint8_t usb_3_tx_vboost_lvl_x; /** Offset 0x014C**/ uint8_t usb_3_tx_vboost_lvl_en_x; - /** Offset 0x014D**/ uint8_t UnusedUpdSpace0[179]; + /** Offset 0x014D**/ uint8_t UnusedUpdSpace0[3]; + /** Offset 0x0150**/ uint32_t vbios_buffer_addr; + /** Offset 0x0154**/ uint8_t UnusedUpdSpace1[172]; /** Offset 0x0200**/ uint16_t UpdTerminator; } FSP_S_CONFIG; -- cgit v1.2.3