diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-10-12 00:15:37 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-10-12 23:14:17 +0000 |
commit | 383e1df6398c7e7c78a7827040a1b73d3512d439 (patch) | |
tree | 8eaeec60278df06c7ebb881ee86a7a7b1a4eb19e | |
parent | d862695f5f432b5c78dada5f16c293a4c3f9fce6 (diff) |
soc/amd/genoa/include/data_fabric: add VGA decode enable register
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Iaf4a1fd61ad1d545b1ea0ab3fcf6c7a3d0260cd0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78319
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
-rw-r--r-- | src/soc/amd/genoa/include/soc/data_fabric.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/amd/genoa/include/soc/data_fabric.h b/src/soc/amd/genoa/include/soc/data_fabric.h index 6388926a15..02c639ab16 100644 --- a/src/soc/amd/genoa/include/soc/data_fabric.h +++ b/src/soc/amd/genoa/include/soc/data_fabric.h @@ -6,6 +6,20 @@ #include <amdblocks/data_fabric_defs.h> #include <types.h> +#define DF_VGA_EN DF_REG_ID(0, 0xc08) + +union df_vga_en { + struct { + uint32_t ve : 1; /* [ 0.. 0] */ + uint32_t np : 1; /* [ 1.. 1] */ + uint32_t cpu_dis : 1; /* [ 2.. 2] */ + uint32_t : 1; /* [ 3.. 3] */ + uint32_t dst_fabric_id : 12; /* [ 4..15] */ + uint32_t : 16; /* [16..31] */ + }; + uint32_t raw; +}; + #define DF_PCI_CFG_BASE0 DF_REG_ID(0, 0xc80) #define DF_PCI_CFG_LIMIT0 DF_REG_ID(0, 0xc84) |