Skip to contentSkip to conversation

synchronizing accesses with nand_base

DISCUSSION Ben Gamsa 1 participant 1 message May 28, 2009 Memory technology devices (MTD)

lore
Share & tools
lore

Ben Gamsa

author
#0 lore raw

I've inherited some code that implements the chip interface for our board, and also implements *user_prot* interfaces for OTP access. We ran into some problems that seem to be due to the fact that the OTP accesses can collide with regular filesystem accesses. I noticed that the nand_base.c code uses a nand_get_device/nand_release_device for synchronization, but those routines appear to be private to that file. What is the proper way to add device-specific routines for OTP access while following proper synchronization procedures.

Thanks for any help.

ben

Signature · 2 lines
Ben Gamsa       [email protected]
SOMA Networks   312 Adelaide St. W. Suite 600 Toronto, Ontario, M5V1R2