diff options
author | John Zhao <john.zhao@intel.com> | 2019-05-20 16:10:16 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:09:17 +0000 |
commit | 57448845ff549f9aa75c3d49c9b292accb5dbc99 (patch) | |
tree | 8c3eb1176e3541f93cfcfe06bf0dda32f313263a /src/include/spd_ddr2.h | |
parent | 6336ee6df936e7e67a7e3cdc8185214ae9cb668a (diff) |
soc/intel/apollolake: Fix value stored to gnvs is never read
Clang Static Analyzer found version 8.0.0 gnvs is allocated, but
it is never used. Change sizeof(*gnvs) to sizeof(global_nvs_t)
while adding ACPI GNVS to CBMEM.
TEST=Built and boot up to kernel.
Change-Id: Ie9421af4a556d1d88183aa938ee2a124a10ab727
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include/spd_ddr2.h')
0 files changed, 0 insertions, 0 deletions