security/vboot: Rename mem_init.h to mrc_cache_hash_tpm.h

As ongoing work for generalizing mrc_cache to be used by all
platforms, we are pulling it out from fsp 2.0 and renaming it as
mrc_cache_hash_tpm.h in security/vboot.

BUG=b:150502246
BRANCH=None
TEST=emerge-nami coreboot chromeos-bootimage

Change-Id: I5a204bc3342a3462f177c3ed6b8443e31816091c
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46508
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Shelley Chen 2020-10-16 10:55:07 -07:00 committed by Patrick Georgi
parent dc667980f8
commit d5faa90df5
3 changed files with 5 additions and 5 deletions

View File

@ -20,8 +20,8 @@
#include <timestamp.h>
#include <security/vboot/vboot_common.h>
#include <security/tpm/tspi.h>
#include <security/vboot/mrc_cache_hash_tpm.h>
#include <vb2_api.h>
#include <fsp/memory_init.h>
#include <types.h>
static uint8_t temp_ram[CONFIG_FSP_TEMP_RAM_SIZE] __aligned(sizeof(uint64_t));

View File

@ -5,7 +5,7 @@
#include <security/vboot/vboot_common.h>
#include <vb2_api.h>
#include <security/tpm/tss.h>
#include <fsp/memory_init.h>
#include <security/vboot/mrc_cache_hash_tpm.h>
#include <console/console.h>
#include <string.h>

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _FSP2_0_MEMORY_INIT_H_
#define _FSP2_0_MEMORY_INIT_H_
#ifndef _MRC_CACHE_HASH_TPM_H_
#define _MRC_CACHE_HASH_TPM_H_
#include <types.h>
@ -16,4 +16,4 @@ void mrc_cache_update_hash(const uint8_t *data, size_t size);
*/
int mrc_cache_verify_hash(const uint8_t *data, size_t size);
#endif /* _FSP2_0_MEMORY_INIT_H_ */
#endif /* _MRC_CACHE_HASH_TPM_H_ */