summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-12-17 15:44:45 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-17 17:59:04 +0000
commit94cf1f5a29d354147817d0c2af6de1e843965e75 (patch)
tree56fa928015fb48a2e61086886819bb720d327d3b
parent53332109acd90d34c82e0450b1329096b942523e (diff)
downloadvboot-94cf1f5a29d354147817d0c2af6de1e843965e75.tar.gz
vboot: remove unused 2nvstorage_fields.h from vb2_api.hfirmware-servo-12768.B
2nvstorage_fields.h is no longer needed for NEED_VB20_INTERNALS users. Remove it. The only headers left are 2misc.h (for vb2_get_sd() in coreboot) and 2struct.h (for VBSD->vb2_shared_data conversion in depthcharge). BUG=b:124141368, chromium:956474 TEST=make clean && make runtests TEST=Check that coreboot and depthcharge compile BRANCH=none Change-Id: I389b4f2828dca2934c5036df9dbfca03dc651bfa Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1971112 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org>
-rw-r--r--firmware/include/vb2_api.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/include/vb2_api.h b/firmware/include/vb2_api.h
index 04113122..0dfc3ddc 100644
--- a/firmware/include/vb2_api.h
+++ b/firmware/include/vb2_api.h
@@ -33,9 +33,8 @@
* TODO: Make cleaner APIs to this stuff.
*/
#ifdef NEED_VB20_INTERNALS
-#include "../2lib/include/2misc.h" /* for vb2_get_sd */
-#include "../2lib/include/2nvstorage_fields.h"
-#include "../2lib/include/2struct.h"
+#include "../2lib/include/2misc.h" /* for vb2_get_sd() */
+#include "../2lib/include/2struct.h" /* for vb2_shared_data struct */
#endif
#endif /* VBOOT_REFERENCE_VB2_API_H_ */