Fix looping on eMMC CID get

This commit is contained in:
RocketRobz 2022-07-06 18:09:12 -06:00
parent cce31e15f2
commit a00fa3f3f5

View File

@ -58,8 +58,10 @@ bool nandio_startup() {
fclose(cidFile); fclose(cidFile);
} else { } else {
// Get eMMC CID // Get eMMC CID
*(u32*)(0x2FFFD0C) = 0x454D4D43; *(u32*)(0xCFFFD0C) = 0x454D4D43;
while (*(u32*)(0x2FFFD0C) != 0); while (*(u32*)(0xCFFFD0C) != 0) {
swiDelay(100);
}
} }
} }