From mboxrd@z Thu Jan 1 00:00:00 1970 From: alfred steele Date: Wed, 13 May 2009 16:50:04 -0500 Subject: [U-Boot] [PATCH 05/10] mxc-mmc: sdhc host driver for MX2 and MX3 proccessor In-Reply-To: <1241634633-13917-6-git-send-email-yanok@emcraft.com> References: <1241634633-13917-1-git-send-email-yanok@emcraft.com> <1241634633-13917-6-git-send-email-yanok@emcraft.com> Message-ID: <528f13590905131450u2f270da3g8c859cbe5ebe6339@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 6, 2009 at 1:30 PM, Ilya Yanok 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,