As a learning experience, I got an SPI flash chip (25LC512) working with my BBB. I thought the steps I went through and performance observed could be useful to others, so I wrote a blog post about the details at:http://www.zephyr-labs.com/?p=139 with links to the git repo for code and performance traces from my Saleae logic analyzer (wonderful tool). Synopsis:
SPI through libsoc library can issue commands every ~100 usec (observed between 77 and 125 usec). Random 1 byte reads can complete every ~100 usec as well. 128 bytes can be transferred from the BBB to/from the 25LC512 in ~200 usec. A long block of sequential reads run at about 640 KB/s