diff options
author | Martin Roth <martinroth@google.com> | 2016-01-07 15:35:45 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-15 22:41:11 +0100 |
commit | 19d9fe9ebc81478b9e7074e9ed6fa8f2070f0004 (patch) | |
tree | f9abf7eb6d938f9b1c4fc70294f2fdc4bdd75003 /src/device/oprom | |
parent | 517d4a6a61adb15c6edf4675d1e72e474c56f924 (diff) |
intel/skylake: Init variable so GCC knows it's set
Even though the data32 variable was getting written by
pch_pcr_read(), GCC still flagged it as being used while
uninitialized and failed the build.
Note that pch_pcr_read() may only set 1 or 2 bytes of data32 in the
successful path, depending on the size of the read.
Change-Id: Icd6e80d06b9bf4af506d62d55ffe4c5e98634b2b
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12860
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Ben Gardner <gardner.ben@gmail.com>
Diffstat (limited to 'src/device/oprom')
0 files changed, 0 insertions, 0 deletions