if any one can tell that if we have to connect a sdcard host with only four data lines then do we have to change the driver of the host controlller / platform data for the board. if yes what are the changes to be made.
No, that should not be necessary. Which kernel? Device tree based or 3.0? Regardless, do you have a SD card detect GPIO set up correctly and mapped to the right SD port? If not, or something is messed up you might also want to try to configure the port as a fixed/nonremovable device in boardconfig or devicetree to see if it works.
I am working with linux kernel 2.6.31. The hardware is designed as per the imx28 schematics but the sdcard is a micro sdcard host instead of sdcard host in mx28.
These are the changes made to the BSP
our sdcard host is having four data lines only so i have removed SSP0_DATA4 - SSP0_DATA7 from the BSP of our custom board. I have also checked the SSP0_DETECT pin also it is connected properly only.
What i have understood after reading that when we connect a SD card , the SSP0_DETECT pin should go low. But this is not happening with our board.