Gabe Black (gabeblack@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3675
-gerrit
commit 202163422cbc74f34b6647378d532f125201e4ce Author: Stefan Reinauer reinauer@chromium.org Date: Wed May 29 13:12:20 2013 -0700
armv7a: Enable native memcpy / memset
The code has been there for quite a while but was never enabled.
Change-Id: I4ec3dcbb3c03805ac5c75872614e5d394df667cf Signed-off-by: Stefan Reinauer reinauer@chromium.org Signed-off-by: Gabe Black gabeblack@chromium.org --- src/arch/armv7/Kconfig | 8 ++++++++ src/arch/armv7/Makefile.inc | 9 +++++++-- 2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/arch/armv7/Kconfig b/src/arch/armv7/Kconfig index 7f4d75e..633c5ef 100644 --- a/src/arch/armv7/Kconfig +++ b/src/arch/armv7/Kconfig @@ -32,4 +32,12 @@ config UPDATE_IMAGE is a suitable file for further processing. The bootblock will not be modified.
+config HAVE_ARCH_MEMSET + bool + default y + +config HAVE_ARCH_MEMCPY + bool + default y + endmenu diff --git a/src/arch/armv7/Makefile.inc b/src/arch/armv7/Makefile.inc index 882d0f2..c8569ce 100644 --- a/src/arch/armv7/Makefile.inc +++ b/src/arch/armv7/Makefile.inc @@ -172,8 +172,6 @@ romstage-$(CONFIG_EARLY_CONSOLE) += early_console.c
ramstage-y += div0.c #ramstage-y += interrupts.c -#ramstage-y += memcpy.S -#ramstage-y += memset.S ramstage-y += cache.c ramstage-y += mmu.c
@@ -184,6 +182,13 @@ bootblock-y += eabi_compat.c ramstage-y += boot.c ramstage-y += tables.c
+romstage-y += memset.S +ramstage-y += memset.S +bootblock-y += memset.S +romstage-y += memcpy.S +ramstage-y += memcpy.S +bootblock-y += memcpy.S + $(obj)/arch/armv7/coreboot_table.ramstage.o : $(OPTION_TABLE_H)
romstage-srcs += $(objgenerated)/crt0.s