summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-10-18 14:41:22 -0700
committerRandall Spangler <rspangler@chromium.org>2016-11-06 02:33:50 +0000
commit559a110f33b7ebe8d950f1c2de6b3b89791f862b (patch)
tree7853ac7a1f8a47cc981613e632f55cdc7dc33974 /utility
parent47eeaa6e4a03d2689c9b1b46fc9b0b0b04ace3a6 (diff)
downloadvboot-559a110f33b7ebe8d950f1c2de6b3b89791f862b.tar.gz
vboot: use malloc and free directly
Originally, vboot1 code used VbExMalloc() and VbExFree() since it needed to talk to EFI firmware that didn't have standard malloc() and free(). Now, coreboot and depthcharge implement them as wrappers around those standard calls. vboot2 code already calls them directly, so let vboot1 code do that too. BUG=chromium:611535 BRANCH=none TEST=make runtests; emerge-kevin coreboot depthcharge Change-Id: I49ad0e32e38d278dc3589bfaf494bcf0e4b0a4bd Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/400905
Diffstat (limited to 'utility')
-rw-r--r--utility/verify_data.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utility/verify_data.c b/utility/verify_data.c
index 74a11fc4..a3ab277a 100644
--- a/utility/verify_data.c
+++ b/utility/verify_data.c
@@ -15,8 +15,6 @@
#include <sys/types.h>
#include <unistd.h>
-#define _STUB_IMPLEMENTATION_ /* For malloc()/free() */
-
#include "2sysincludes.h"
#include "2common.h"