Add a HAVE_ARCH_MEMMOVE option to allow overriding memmove.
Change-Id: I4b6a57e7d8e7e685c609b1d85368585b9dd197dc Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3761 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
eac991629f
commit
545c0caac8
|
@ -244,6 +244,10 @@ config HAVE_ARCH_MEMCPY
|
|||
bool
|
||||
default n
|
||||
|
||||
config HAVE_ARCH_MEMMOVE
|
||||
bool
|
||||
default n
|
||||
|
||||
menu "Chipset"
|
||||
|
||||
comment "CPU"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue