diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-03-30 17:07:42 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-03 04:58:03 +0200 |
commit | 45a0dbc95c1ef1d697598655a526709f27151bb4 (patch) | |
tree | 148ec3fabb933a3a5e393c575f52f5522285db3a /src/drivers/intel/gma/intel_bios.h | |
parent | aca4c94057850762ddd3c78e6e8cf9023e22a66a (diff) |
nb/intel: Deduplicate vbt header
Move header and delete duplicates.
Change-Id: I0e1f5d9082626062f95afe718f6ec62a68f0d828
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/18903
Tested-by: build bot (Jenkins)
Tested-by: coreboot org <coreboot.org@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel/gma/intel_bios.h')
-rw-r--r-- | src/drivers/intel/gma/intel_bios.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/drivers/intel/gma/intel_bios.h b/src/drivers/intel/gma/intel_bios.h index 7b5edd3f39..000d7d5d8f 100644 --- a/src/drivers/intel/gma/intel_bios.h +++ b/src/drivers/intel/gma/intel_bios.h @@ -730,56 +730,6 @@ struct bdb_mipi { u32 clk_lane_switch_cnt; } __attribute__((packed)); -/* Intel Video BIOS (Option ROM) */ -typedef struct { - u16 signature; - u8 size; - u8 reserved[21]; - u16 pcir_offset; - u16 vbt_offset; -} __attribute__((packed)) optionrom_header_t; - -#define OPROM_SIGNATURE 0xaa55 - -typedef struct { - u32 signature; - u16 vendor; - u16 device; - u16 reserved1; - u16 length; - u8 revision; - u8 classcode[3]; - u16 imagelength; - u16 coderevision; - u8 codetype; - u8 indicator; - u16 reserved2; -} __attribute__((packed)) optionrom_pcir_t; - -typedef struct { - u8 hdr_signature[20]; - u16 hdr_version; - u16 hdr_size; - u16 hdr_vbt_size; - u8 hdr_vbt_checksum; - u8 hdr_reserved; - u32 hdr_vbt_datablock; - u32 hdr_aim[4]; - u8 datahdr_signature[16]; - u16 datahdr_version; - u16 datahdr_size; - u16 datahdr_datablocksize; - u8 coreblock_id; - u16 coreblock_size; - u16 coreblock_biossize; - u8 coreblock_biostype; - u8 coreblock_releasestatus; - u8 coreblock_hwsupported; - u8 coreblock_integratedhw; - u8 coreblock_biosbuild[4]; - u8 coreblock_biossignon[155]; -} __attribute__((packed)) optionrom_vbt_t; - #define VBT_SIGNATURE 0x54425624 #endif /* _I830_BIOS_H_ */ |