Hey Sivaraj,
I tried using the code you gave for the OmapL138 but with no luck.
I keep getting result 13 for this line:
rtn = sendCmd(mmcsd, MMCSD_CMD_ALL_SEND_CID, 0, 1);
What did you mean by customizing the PINMUX? Doesn't all the OmapL138 has the same PinMux? (PINMUX10 = 0x22222222, PINMUX11 = 0x00000022).
I also saw that they don't configure GPIO 4[0] and 4[1] for the card detect there, maybe this could be the problem?
I use a LogicPD SOM with OmapL138 on my custom board.
Any thoughts?
Cheers,
Yoel