MMC and SD card are discerned after CMD55. (@ line 529, spi_boot.vhd)
According to SD card Physical Layer Simplified Specification Version 2.00(Downloadable @ sdcard.org), CMD55 is a "prefix" to ACMDs, and the judgement should be made after ACMD41 I think. (Figure 7.2)
Please check it out because the code may not be tested on MMC card.
Thanks for bringing up this issue. Do you have an MMC card at hand that shows this problem? It'd be beneficial to have such a card available to test ay future modification.
Arnim
Latest CVS version 1.11 of spi_boot.vhd contains a fix for this problem. Please let me know if you still see an issue here. Otherwise I'll release the code and documentation within the next days.
Released as part of Version 3.2, rev. C