summaryrefslogtreecommitdiff
path: root/tools/intel_bios.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-03-25 13:36:52 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-11 15:58:38 +0300
commitb1e756451c59b342a9d15433379bf543ddedd56b (patch)
treee2cf3d1001098e4593543facc9b8d999f1568e87 /tools/intel_bios.h
parentc137ac71584467424f8a7bbb40825fa6250093c5 (diff)
intel_bios_reader: Read the child device size from VBT
New stuff has been added to the end of the child device block at various times, so using a hardcoded size for the block is a bad idea. Fortunately the size of the block is listed in the VBT just before the blocks themselves, so grab it from there. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_bios.h')
-rw-r--r--tools/intel_bios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_bios.h b/tools/intel_bios.h
index aedc5fcb..64e723d4 100644
--- a/tools/intel_bios.h
+++ b/tools/intel_bios.h
@@ -269,7 +269,7 @@ struct bdb_general_definitions {
* TV and LVDS are missing, so be careful when interpreting
* [4] and [5].
*/
- struct child_device_config devices[0];
+ uint8_t devices[0];
/* may be another device block here on some platforms */
} __attribute__ ((packed));