URL
https://opencores.org/ocsvn/ion/ion/trunk
Subversion Repositories ion
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 248 to Rev 249
- ↔ Reverse comparison
Rev 248 → Rev 249
/ion/trunk/src/sdboot/sdboot.c
42,11 → 42,7
|
|
printf("ION SD loader -- " __DATE__ "\n\n"); |
printf("Loading file '/code.bin' onto RAM at address 0x00000000...\n"); |
|
|
WRPORT(0,0x17890083); |
|
|
f_mount(0, &Fatfs); /* Register volume work area (never fails) */ |
|
53,6 → 49,8
rc = f_open(&Fil, "CODE.BIN", FA_READ); |
if (rc) die(rc); |
|
printf("Loading file '/code.bin' onto RAM at address 0x00000000...\n"); |
|
for (;;) { |
rc = f_read(&Fil, Buff, sizeof Buff, &br); /* Read a chunk of file */ |
if (rc || !br) break; /* Error or end of file */ |