I'm stuck on the same problem.
/unit_tests/mxc_spi_test1.out -D 1 -b 16 1
Execute data transfer test: 1 1 1
Error:cannot open device (Maybe not present in your board?)
I don't see spi device in /dev/ although I added the driver during the kernel compilation.
How can I add the device?