[coreboot] Patch set updated for coreboot: 58ac712 rmodule: add string functions to rmodules class
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Tue Mar 19 20:27:41 CET 2013
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2821
-gerrit
commit 58ac7123bc9099a6d0c862ec6de699e66aceb278
Author: Aaron Durbin <adurbin at chromium.org>
Date: Fri Mar 1 16:56:34 2013 -0600
rmodule: add string functions to rmodules class
The standard string functions memcmp(), memset(), and memcpy()
are needed by most programs. The rmodules class provides a way to
build objects for the rmodules class. Those programs most likely need
the string functions. Therefore provide those standard functions to
be used by any generic rmodule program.
Change-Id: I2737633f03894d54229c7fa7250c818bf78ee4b7
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
src/arch/x86/lib/Makefile.inc | 3 +++
src/lib/Makefile.inc | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/src/arch/x86/lib/Makefile.inc b/src/arch/x86/lib/Makefile.inc
index 49d7e9e..82f4e62 100644
--- a/src/arch/x86/lib/Makefile.inc
+++ b/src/arch/x86/lib/Makefile.inc
@@ -20,4 +20,7 @@ smm-y += memset.c
smm-y += memcpy.c
smm-y += rom_media.c
+rmodules-y += memset.c
+rmodules-y += memcpy.c
+
$(obj)/arch/x86/lib/console.ramstage.o :: $(obj)/build.h
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index fe04e43..fe57f9f 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -29,12 +29,15 @@ bootblock-y += memcmp.c
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
romstage-y += memset.c
+rmodules-y += memset.c
endif
romstage-y += memchr.c
ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
romstage-y += memcpy.c
+rmodules-y += memcpy.c
endif
romstage-y += memcmp.c
+rmodules-y += memcmp.c
romstage-y += cbfs.c
romstage-y += lzma.c
#romstage-y += lzmadecode.c
@@ -126,3 +129,4 @@ $(strip $(1)): $(strip $(2)) $$(RMODULE_LDSCRIPT) $$(obj)/ldoptions
endef
endif
+
More information about the coreboot
mailing list