mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Cr50: Remove unused wipe_nvram() function.
Nothing uses this. Take it out. BUG=none BRANCH=none TEST=make buildall Change-Id: I4512130a97a54cf23ec6d715c4776b7b4d1b59a1 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/382662 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
6d8483e396
commit
cd4270d4e3
@@ -213,12 +213,3 @@ void _plat__ClearNvAvail(void)
|
||||
s_NvIsAvailable = FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
void wipe_nvram(void)
|
||||
{
|
||||
#ifdef CONFIG_FLASH_NVMEM
|
||||
nvmem_setup(0);
|
||||
#else
|
||||
memset(s_NV, 0xff, sizeof(s_NV));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef __EC_BOARD_CR50_TPM2_MEMORY_H
|
||||
#define __EC_BOARD_CR50_TPM2_MEMORY_H
|
||||
|
||||
/* A function to reinitialize the TPM NVram. */
|
||||
void wipe_nvram(void);
|
||||
|
||||
#endif /* __EC_BOARD_CR50_TPM2_MEMORY_H */
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "flash.h"
|
||||
#include "hooks.h"
|
||||
#include "include/compile_time_macros.h"
|
||||
#include "memory.h"
|
||||
#include "system.h"
|
||||
#include "registers.h"
|
||||
#include "uart.h"
|
||||
|
||||
Reference in New Issue
Block a user