
On Wed, May 6, 2009 at 1:30 PM, Ilya Yanok yanok@emcraft.com wrote:
This is a port of Linux driver for SDHC host controller hardware found on Freescale's MX2 and MX3 processors.
Would this work asis on the MX31 uboot. I tried making the code work on the MX31 with minor mods ( on some registers). Would it work on MX31? I am trying to understand the hardware better. I had some confusion on the internally generated clock. This code seems to borrow heavily from the linux api's. So it i s using the imx_get_perclk2() function as a source of the divder frequency. Will it work on the imx31. U-boot already has the mx31_get_ipg_clk() for extracting the clock. Which one should i use for the SD_MMC_CLOCK? From the data sheet, it seems ipgperclk3() has to be used for the divider. I am not sure though at this point .
I am not getting a response from the SD card for the OCR for voltage validation as a part of the card identification cycle. Any help will be appreciated.
Thanks, Alfred,