Merge pull request #174 from pulp-platform/Moschn-patch-1

Bugfix in FPGA bootrom
This commit is contained in:
Florian Zaruba 2019-02-05 18:36:40 +01:00 committed by GitHub
commit d0dfdc6386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ int sd_copy(void *dst, uint32_t src_lba, uint32_t size)
crc = (crc << 1) | 1;
if (sd_cmd(18, src_lba, crc) != 0x00)
{
for (int j = 0; j < 8; i++)
for (int j = 0; j < 8; j++)
sd_dummy();
print_uart("could not read SD block\r\n");