Thanks for your help on the other topic, Ricky. I'm finally returning to my UFFS integration task and have some more questions.
As I think I mentioned, we are using our flash driver to do OOB layout and ECC calculation so our
layout_opt is
UFFS_LAYOUT_FLASH and
ecc_opt is
UFFS_ECC_HW_AUTO. According to the documentation in
http://all-about-uffs.blogspot.com/, we must implement the
ReadPageSpareWithLayout() and
WritePageSpareWithLayout() API functions in our adaptation layer. However, I do not see any calls to these functions, nor to
ReadPageSpare() and
WritePageSpare(), anywhere in the 1.3.6 UFFS code. So...
1. Do we still have to implement these? I'm guessing not since they're not called and there's no place for them in
struct uffs_FlashOpsSt.
2. If we do not implement them, how will UFFS handle reading from and writing to the spare (OOB) area?
3. Are we instead supposed to manually populate (for page reads) and take from (for page writes) the
uffs_TagStoreSt structure?
Thanks very much.
Gil Glass