coreboot/src
Gabe Black c6b44162f5 CBFS: Use memmove instead of memcpy when loading a file from CBFS.
It might be the case that a file is being loaded from a portion of CBFS which
has already been loaded into a limitted bit of memory somewhere, and we want
to load that file in place, effectively, so that it's original location in
CBFS overlaps with its new location. That's only guaranteed to work if you use
memmove instead of memcpy.

Change-Id: Id550138c875907749fff05f330fcd2fb5f9ed924
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3577
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-07-15 18:53:37 +02:00
..
arch ARM: Define custom ELF headers for ARM. 2013-07-15 18:33:41 +02:00
console usbdebug: Move EHCI BAR relocation code 2013-07-10 23:24:20 +02:00
cpu am335x: Make the default media for the bootblock sram instead of NAND flash. 2013-07-15 18:36:49 +02:00
device device: Fix spelling 2013-07-10 20:17:25 +02:00
drivers parade: Add a driver for the parade ps8625. 2013-07-10 23:20:39 +02:00
ec chromeec: Add a function to send passthrough i2c messages. 2013-07-10 23:18:30 +02:00
include SMBIOS: Add smbios_write_type11() for creating an OEM Strings structure 2013-07-15 17:06:23 +02:00
lib CBFS: Use memmove instead of memcpy when loading a file from CBFS. 2013-07-15 18:53:37 +02:00
mainboard beaglebone: Put some code in romstage.c so we can tell if it ran. 2013-07-15 18:34:12 +02:00
northbridge Set PCI bus operations at buildtime for ramstage 2013-07-11 01:29:35 +02:00
southbridge src/southbridge/intel/{lynxpoint,bd82x6x}/spi.c: correct spelling of attempted 2013-07-12 01:01:35 +02:00
superio w83627hf/acpi: Fix endianess error in floppy drive enumeration code 2013-07-10 02:54:01 +02:00
vendorcode amd/agesa/f15/Lib/amdlib.c: Add missing breaks to switch statement 2013-06-28 01:35:20 +02:00
Kconfig Add a HAVE_ARCH_MEMMOVE option to allow overriding memmove. 2013-07-14 20:33:58 +02:00