diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-05-03 19:15:00 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-04 19:14:03 +0000 |
commit | 765120383b235beeb1288ec5af875af25d4806c3 (patch) | |
tree | 9867a384d3da87ddc2e3648485a2f67daa01a555 /src/soc/intel/common/vbt.h | |
parent | d2990ff5a3d620c2f989a1091eb86bb52942103d (diff) |
soc/intel/common: Allow exporting the size of the VBT
Change-Id: Ib340aad846ea7cb61d650928b495efaa1fc2d641
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/26038
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/vbt.h')
-rw-r--r-- | src/soc/intel/common/vbt.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/intel/common/vbt.h b/src/soc/intel/common/vbt.h index 615af4b29c..1bc536e430 100644 --- a/src/soc/intel/common/vbt.h +++ b/src/soc/intel/common/vbt.h @@ -27,8 +27,11 @@ */ const char *mainboard_vbt_filename(void); -/* locate vbt.bin file. Returns a pointer to its content. */ -void *locate_vbt(void); +/* + * locate vbt.bin file. Returns a pointer to its content. + * If vbt_size is non-NULL, also return the vbt's size. + */ +void *locate_vbt(size_t *vbt_size); /* * Returns VBT pointer and mapping after checking prerequisites for Pre OS * Graphics initialization |