cflash: replace CopyMemQuick call with CopyMem as it caused a guru

This commit is contained in:
Matt Harlum 2023-04-18 16:05:29 +00:00
parent 5ed54d4fa0
commit b1fb7b8aaa
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -90,7 +90,7 @@ int main(int argc, char *argv[])
if (*controlRegister & FLASHEN_BIT) {
printf("Flash is enabled, copying ROM to RAM and disabling Flash\n");
CopyMemQuick((ULONG *)0xF00000,(ULONG *)0xF00000,1024*1024); // Copy Extended and Kick rom to RAM
CopyMem((ULONG *)0xF00000,(ULONG *)0xF00000,1024*1024); // Copy Extended and Kick rom to RAM
printf("Switching to RAM now, good luck!\n");
*controlRegister = (CTRL_SET | MAPRAMEN_BIT);
}