Skip to content

Commit

Permalink
Merge pull request openhwgroup#174 from pulp-platform/Moschn-patch-1
Browse files Browse the repository at this point in the history
Bugfix in FPGA bootrom
  • Loading branch information
zarubaf authored Feb 5, 2019
2 parents 716f53d + a43ebc1 commit d0dfdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpga/src/bootrom/src/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d0dfdc6

Please sign in to comment.