summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/spi.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2018-05-11 11:43:52 -0600
committerSubrata Banik <subrata.banik@intel.com>2018-05-11 18:16:13 +0000
commit44f80657fd513f91f87973407b3474ed9f634867 (patch)
tree44ed1b0ab69643a94ee1aece6d68c96c051cd307 /src/soc/mediatek/mt8173/spi.c
parentf064c75ae20286e7d0cca341bb1b1918af4cf2a4 (diff)
drivers/intel/gma: honor vbt_size parameter to locate_vbt()
In 4a3956d7 (drivers/intel/gma, soc/intel/common: improve cooperation) the vbt_size parameter was not honored leading to the use of unitialized variables from the caller. Instead, keep track of if the vbt is already loaded by using the size returned from the load. If it's non-zero the vbt has been loaded. BUG=b:79562868 Change-Id: Ia1c47f0d982fae74e0223922f83943c68a846aa9 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/26236 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8173/spi.c')
0 files changed, 0 insertions, 0 deletions