From d477565dbd6e9b6467f49c84a4f05047ffa22682 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Fri, 13 Mar 2020 16:43:34 -0700 Subject: cbfstool: Use cbfs_serialized.h and standard vboot helpers This patch reduces some code duplication in cbfstool by switching it to use the CBFS data structure definitions in commonlib rather than its own private copy. In addition, replace a few custom helpers related to hash algorithms with the official vboot APIs of the same purpose. Signed-off-by: Julius Werner Change-Id: I22eae1bcd76d85fff17749617cfe4f1de55603f4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41117 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Wim Vervoorn --- util/cbfstool/cbfscomptool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/cbfstool/cbfscomptool.c') diff --git a/util/cbfstool/cbfscomptool.c b/util/cbfstool/cbfscomptool.c index 3ea87ad449..5745093165 100644 --- a/util/cbfstool/cbfscomptool.c +++ b/util/cbfstool/cbfscomptool.c @@ -7,6 +7,7 @@ #include #include +#include "cbfs.h" #include "common.h" const char *usage_text = "cbfs-compression-tool benchmark\n" -- cgit v1.2.3