Subversion Repositories freemyipod

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 57
Line 84... Line 84...
84
 
84
 
85
#ifdef HAVE_STORAGE_FLUSH
85
#ifdef HAVE_STORAGE_FLUSH
86
int nand_flush(void)
86
int nand_flush(void)
87
{
87
{
88
    int rc = ftl_sync();
88
    int rc = ftl_sync();
89
    if (rc != 0) panicf("Failed to unmount flash: %X", rc);
89
    if (rc != 0) panicf(PANIC_FATAL, "Failed to unmount flash: %X", rc);
90
    return rc;
90
    return rc;
91
}
91
}
92
#endif
92
#endif
93
 
93
 
94
int nand_init(void)
94
int nand_init(void)