diff options
author | Furquan Shaikh <furquan@google.com> | 2016-06-29 11:26:27 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2016-06-30 20:54:04 +0200 |
commit | be87f73c68a81b48aec0d651a8bde52aa37f3690 (patch) | |
tree | f5c0af339b87563b734488a1a09468f9d768eaca /src/soc/intel/apollolake | |
parent | 9a0c9ac912b4bc4248cdada2889a13e48a06d28d (diff) |
vbnv: Do not initialize vbnv_copy in vbnv layer
If read_vbnv finds that the vbnv_copy is not valid, it initializes it
with the correct HEADER_SIGNATURE and other attributes. However, the
vbnv copy is checked for validity and initialized at the vboot layer as
well. Since, vboot is the owner of this data, it should be the one
initializing it. Thus, if read_vbnv sees that the data is not valid,
simply reset it to all 0s and let vboot layer take care of it. This also
removes the need for additional checks to ensure that the dirty vbnv
copy is properly updated on storage.
Change-Id: I6101ac41f31f720a6e357c9c56e571d62e0f2f47
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15498
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake')
0 files changed, 0 insertions, 0 deletions