armv7a: Enable native memcpy / memset
The code has been there for quite a while but was never enabled. BUG=none TEST=none BRANCH=none Change-Id: Ifc30e735e78f88ab2c84e374e2aa245b370c4e03 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/57018 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
parent
4a4ec6c17b
commit
fb9a6ae404
2 changed files with 15 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue