flFitInSocketWindow( )

NAME

flFitInSocketWindow( ) - check whether the flash array fits in a socket window

SYNOPSIS

long int flFitInSocketWindow 
    ( 
    long int  chipSize,      /* size of single physical chip in bytes */ 
    int       interleaving,  /* flash chip interleaving (1,2,4 etc)   */ 
    long int  windowSize     /* socket window size in bytes           */ 
    )

DESCRIPTION

TrueFFS uses this routine to make sure that the specified chip fits in the socket window.

RETURNS

A chip size guaranteed to fit in the socket window.

SEE ALSO

sysTffs