vboot: add cbfs_core
And we don't support lzma compressed data in verstage.
Change-Id: I3d8d3290f147871c49e9440e9b54bbf2742aaa9e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10103
Tested-by: build bot (Jenkins)
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 82dd5c5..ef4e2aa 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -33,6 +33,7 @@
verstage-y += prog_ops.c
verstage-y += delay.c
verstage-y += cbfs.c
+verstage-y += cbfs_core.c
verstage-y += memcmp.c
verstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
diff --git a/src/lib/cbfs_core.h b/src/lib/cbfs_core.h
index c301c33..f9aeaa8 100644
--- a/src/lib/cbfs_core.h
+++ b/src/lib/cbfs_core.h
@@ -15,6 +15,8 @@
# define CBFS_MINI_BUILD
#elif defined(__BOOTBLOCK__)
/* No LZMA in boot block. */
+#elif defined(__VERSTAGE__)
+ /* No LZMA in verstage. */
#elif defined(__PRE_RAM__) && !CONFIG_COMPRESS_RAMSTAGE
/* No LZMA in romstage if ramstage is not compressed. */
#else