
15 Apr
2013
15 Apr
'13
9:11 p.m.
On 04/15/2013 11:33 AM, Marek Vasut wrote:
Dear Mike Dunn,
[...]
+#ifdef CONFIG_SPL_BUILD +void *memcpy(void *dest, const void *src, size_t count) +{
CONFIG_SPL_LIBCOMMON_SUPPORT shall give you memcpy.
This does not appear to be the case. Unless I'm mistaken, memcpy() will be in either lib/libgeneric.o (lib/string.c) or arch/arm/lib/libarm.o (arch/arm/lib/memcpy.S) - depending on CONFIG_USE_ARCH_MEMCPY - but in neither case will it be in common/libcommon.o.
CONFIG_SPL_LIBGENERIC_SUPPORT then ;-)
<smacks forehead>
Does preclude use of CONFIG_USE_ARCH_MEMCPY though.
Thanks, Mike