diff options
Diffstat (limited to 'src/security/vboot/vbnv_ec.c')
-rw-r--r-- | src/security/vboot/vbnv_ec.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/security/vboot/vbnv_ec.c b/src/security/vboot/vbnv_ec.c deleted file mode 100644 index fcae37a910..0000000000 --- a/src/security/vboot/vbnv_ec.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <types.h> -#include <ec/google/chromeec/ec.h> -#include <security/vboot/vbnv.h> -#include <security/vboot/vbnv_layout.h> - -void read_vbnv_ec(uint8_t *vbnv_copy) -{ - google_chromeec_vbnv_context(1, vbnv_copy, VBOOT_VBNV_BLOCK_SIZE); -} - -void save_vbnv_ec(const uint8_t *vbnv_copy) -{ - google_chromeec_vbnv_context(0, (uint8_t *)vbnv_copy, - VBOOT_VBNV_BLOCK_SIZE); -} |