diff options
Diffstat (limited to 'cf-fsi-test.c')
-rw-r--r-- | cf-fsi-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cf-fsi-test.c b/cf-fsi-test.c index 5d05051..42bf3a3 100644 --- a/cf-fsi-test.c +++ b/cf-fsi-test.c @@ -755,7 +755,7 @@ int main(int argc, char *argv[]) /* Wait for status register to say command complete */ do { - val = readb(sysreg + SRAM_BASE + CMD_STAT_REG); + val = readl(sysreg + SRAM_BASE + CF_STARTED); } while (val == 0x00); /* Configure echo & send delay */ |