summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-05-01 16:48:54 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-05-05 17:49:29 +0200
commitae1fcc3c1d95067e41dbffa6dacb27279ee7a07e (patch)
tree8224d01570e7670ce925f7c8aa47cd2f662985c1
parent2daadf8f576363c6d215409b4d7899990344f3b5 (diff)
downloadcoreboot-ae1fcc3c1d95067e41dbffa6dacb27279ee7a07e.tar.xz
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)
-rw-r--r--src/lib/Makefile.inc1
-rw-r--r--src/lib/cbfs_core.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 82dd5c5b8c..ef4e2aaf36 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -33,6 +33,7 @@ bootblock-y += memcmp.c
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 c301c337a2..f9aeaa8069 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