summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/armv7/Kconfig8
-rw-r--r--src/arch/armv7/Makefile.inc9
2 files changed, 15 insertions, 2 deletions
diff --git a/src/arch/armv7/Kconfig b/src/arch/armv7/Kconfig
index 7f4d75e270..633c5ef98d 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 1a328c4f18..31410e3d54 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