Can cfi_cmdset.c functions be called by anybody?
Hello,
Part of our flash application will be a real-time logger. The real time component will be limited to certain periods of operation, but when it's running, it will require about 5 bytes/second to be written to a fixed circular buffer.
This would be simplified if I were able to directly use the functions from cfi_cmdset_0001.c.
Are the functions available for any application to use, or are they only available for device drivers?
Thanks,
Derek Ross.
Quoted 5 lines · [email protected] said:
This would be simplified if I were able to directly use the functions from
cfi_cmdset_0001.c.Are the functions available for any application to use, or are they only available for device drivers?
The read/write/erase functionality of the chip driver is presented to userspace via the /dev/mtd[0123...] devices. Read and write work as expected, and there's an ioctl to perform an erase.
--
dwmw2
Would it be possible for me to modify, or add to, the function pointers in the mtd_info struct, so there there are also non-blocking write and erase functions?
Thanks,
Derek.
----- Original Message -----
From: "David Woodhouse" <[email protected]>
To: "Derek Ross" <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 01, 2002 3:35 PM
Subject: Re: Can cfi_cmdset.c functions be called by anybody?
Quoted 14 lines
Quoted 5 lines · [email protected] said:
This would be simplified if I were able to directly use the functions from
cfi_cmdset_0001.c.Are the functions available for any application to use, or are they only available for device drivers?
The read/write/erase functionality of the chip driver is presented to userspace via the /dev/mtd[0123...] devices. Read and write work as expected, and there's an ioctl to perform an erase.
--
dwmw2