[coreboot-gerrit] New patch to review for coreboot: 63d3c4f Add a HAVE_ARCH_MEMMOVE option to allow overriding memmove.
Gabe Black (gabeblack@chromium.org)
gerrit at coreboot.org
Thu Jul 11 05:39:09 CEST 2013
Gabe Black (gabeblack at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3761
-gerrit
commit 63d3c4f9ffd0c85f2917724c7a4655de4769eb3d
Author: Gabe Black <gabeblack at google.com>
Date: Sun Jul 7 14:04:26 2013 -0700
Add a HAVE_ARCH_MEMMOVE option to allow overriding memmove.
Change-Id: I4b6a57e7d8e7e685c609b1d85368585b9dd197dc
Signed-off-by: Gabe Black <gabeblack at chromium.org>
---
src/Kconfig | 4 ++++
src/lib/Makefile.inc | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/src/Kconfig b/src/Kconfig
index 14e7801..f65c8e3 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -244,6 +244,10 @@ config HAVE_ARCH_MEMCPY
bool
default n
+config HAVE_ARCH_MEMMOVE
+ bool
+ default n
+
menu "Chipset"
comment "CPU"
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index d44f4a7..f1783ba 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -26,6 +26,9 @@ ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
bootblock-y += memcpy.c
endif
bootblock-y += memcmp.c
+ifneq ($(CONFIG_HAVE_ARCH_MEMMOVE),y)
+bootblock-y += memmove.c
+endif
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
romstage-y += memset.c
@@ -56,7 +59,9 @@ romstage-$(CONFIG_EARLY_CBMEM_INIT) += cbmem.c
endif
romstage-y += compute_ip_checksum.c
+ifneq ($(CONFIG_HAVE_ARCH_MEMMOVE),y)
romstage-y += memmove.c
+endif
romstage-$(CONFIG_ARCH_X86) += gcc.c
ramstage-y += hardwaremain.c
@@ -70,7 +75,9 @@ ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
ramstage-y += memcpy.c
endif
ramstage-y += memcmp.c
+ifneq ($(CONFIG_HAVE_ARCH_MEMMOVE),y)
ramstage-y += memmove.c
+endif
ramstage-y += malloc.c
smm-$(CONFIG_SMM_TSEG) += malloc.c
ramstage-y += delay.c
More information about the coreboot-gerrit
mailing list