/* Common EFI functions Unfortunately we cannot access any code outside what is built especially for the stub. lib/string.c is already being built for the U-Boot payload so it uses the wrong compiler flags. Add our own memset() here.  */
static void efi_memset(void *ptr, int ch, int size)
/* Common EFI functions Unfortunately we cannot access any code outside what is built especially for the stub. lib/string.c is already being built for the U-Boot payload so it uses the wrong compiler flags. Add our own memset() here.  */
static void efi_memset(void *ptr, int ch, int size)
{
	char *dest = ptr;
	while (size-- > 0)
		*dest++ = ch;
}