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>
Reviewed-on: http://review.coreboot.org/3675
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Stefan Reinauer 2013-05-29 13:12:20 -07:00 committed by Stefan Reinauer
parent e6a44ebb29
commit ff7c8e82d1
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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