diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2019-11-18 11:25:47 +0800 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2019-11-19 15:29:20 +0000 |
commit | 29c8fa4769de86ba0b5f7a8791124121ff7dbe74 (patch) | |
tree | 23ea26d550aff438784f5517ff9828802701d6dc /src/security/vboot/vboot_common.c | |
parent | ab8edda14a622ab46bdfd01b877d75c7bd385a4d (diff) |
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 <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36922
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/security/vboot/vboot_common.c')
-rw-r--r-- | src/security/vboot/vboot_common.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/security/vboot/vboot_common.c b/src/security/vboot/vboot_common.c index 2d35c6be05..a24b220a9c 100644 --- a/src/security/vboot/vboot_common.c +++ b/src/security/vboot/vboot_common.c @@ -24,16 +24,6 @@ #include <security/vboot/vbnv.h> #include <vb2_api.h> -int vboot_named_region_device(const char *name, struct region_device *rdev) -{ - return fmap_locate_area_as_rdev(name, rdev); -} - -int vboot_named_region_device_rw(const char *name, struct region_device *rdev) -{ - return fmap_locate_area_as_rdev_rw(name, rdev); -} - /* Check if it is okay to enable USB Device Controller (UDC). */ int vboot_can_enable_udc(void) { |