diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-12-14 13:53:14 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-12-16 04:15:42 +0000 |
commit | cb0c40d3503badee7939393360903ebdc904609a (patch) | |
tree | d416a65bc04d72a363a1c73ca32de280c8406205 /src/soc/intel/common/nvm.h | |
parent | c3339ce9e3b182bceb1b849c6fe389cf8aca4521 (diff) |
soc/intel/common: remove nvm headers and c file
There's no sense in having the nvm abstraction in its own files. Put
that support directly into mrc_cache.c.
BUG=b:69614064
Change-Id: I0f1a801c6e1a8c35f70faf9e4318bdc45955047a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22883
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/nvm.h')
-rw-r--r-- | src/soc/intel/common/nvm.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/soc/intel/common/nvm.h b/src/soc/intel/common/nvm.h deleted file mode 100644 index 1e32ed8637..0000000000 --- a/src/soc/intel/common/nvm.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2014 Google Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef _COMMON_NVM_H_ -#define _COMMON_NVM_H_ - -#include <commonlib/region.h> - -/* Determine if flash device is write protected */ -int nvm_is_write_protected(void); - -/* Apply protection to a range of flash */ -int nvm_protect(const struct region *region); - -#endif /* _COMMON_NVM_H_ */ |