Forum Discussion
Altera_Forum
Honored Contributor
20 years agoEPCS Driver and Filesystem
Just a heads up.. I started work on an EPCS Driver for uClinux, going through the MTD Layer. I can get the new driver to probe and install itself, and catch the read/write routines, so it's just ...
Altera_Forum
Honored Contributor
20 years agoI was wondering if I should use the 'readl' or 'writel' macros to basically emulate IORDs and IOWRs, or should I just initialize pointers to the correct memory locations? I had the driver detecting a chip successfully, but it's very erratic; I can add some printks and functionality completely changes, but that was using pointers. I took a look at u-boots EPCS code, and that uses readl/writel, so I was thinking of that...