summaryrefslogtreecommitdiff
path: root/src/commonlib/Makefile.inc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-03-24 17:10:51 -0500
committerMartin Roth <martinroth@google.com>2017-04-24 19:06:50 +0200
commit88b26b845cab11be3f925e2fb52b805f7f8f992a (patch)
tree0d59deb84719befb24dd3fafb5489d5a4c18fd60 /src/commonlib/Makefile.inc
parent6338189d0e2a6ba8e82719ce0ba631639a5e0212 (diff)
commonlib: add input and output buffer helpers
Introduce ibuf and obuf structures for helping manage memory buffers. The ibuf, an input buffer, can be read from and the obuf, an output buffer, can be written to. Helper functions are provided for serializing values in different endian formats. This library is provided to for common buffer management routines such that the same code doesn't have to re-written in different and less consistent forms. BUG=b:36598499 Change-Id: I5247237f68b658906ec6916bbbb286d57d6df5ee Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/19062 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/commonlib/Makefile.inc')
-rw-r--r--src/commonlib/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/commonlib/Makefile.inc b/src/commonlib/Makefile.inc
index 3c375d5674..255a241cba 100644
--- a/src/commonlib/Makefile.inc
+++ b/src/commonlib/Makefile.inc
@@ -4,6 +4,13 @@ romstage-y += mem_pool.c
ramstage-y += mem_pool.c
postcar-y += mem_pool.c
+bootblock-y += iobuf.c
+verstage-y += iobuf.c
+romstage-y += iobuf.c
+ramstage-y += iobuf.c
+smm-y += iobuf.c
+postcar-y += iobuf.c
+
bootblock-y += region.c
verstage-y += region.c
romstage-y += region.c