soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / lib / memcpy.c
blobe1fa3c56cf4d616a7f0241206dcf758cd212ecac
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <string.h>
4 void *memcpy(void *vdest, const void *vsrc, size_t bytes)
6 const char *src = vsrc;
7 char *dest = vdest;
8 int i;
10 for (i = 0; i < (int)bytes; i++)
11 dest[i] = src[i];
13 return vdest;