From 29c8fa4769de86ba0b5f7a8791124121ff7dbe74 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Mon, 18 Nov 2019 11:25:47 +0800 Subject: security/vboot: Remove vboot_named_region_device(_rw) Remove vboot_named_region_device(_rw) and use fmap_locate_area_as_rdev(_rw) directly. BRANCH=none BUG=none TEST=emerge-kukui coreboot Change-Id: I244ac4e01ae5b80285162b3baffc0b30aa057bfb Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/36922 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/security/vboot/vboot_common.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/security/vboot/vboot_common.h') diff --git a/src/security/vboot/vboot_common.h b/src/security/vboot/vboot_common.h index 42b4a6b59b..a20ab62bd4 100644 --- a/src/security/vboot/vboot_common.h +++ b/src/security/vboot/vboot_common.h @@ -20,12 +20,6 @@ #include #include -/* Locate vboot area by name. Returns 0 on success and -1 on error. */ -int vboot_named_region_device(const char *name, struct region_device *rdev); - -/* Like vboot_named_region_device() but provides a RW region device. */ -int vboot_named_region_device_rw(const char *name, struct region_device *rdev); - /* * Function to check if there is a request to enter recovery mode. Returns * reason code if request to enter recovery mode is present, otherwise 0. -- cgit v1.2.3