From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Fri, 16 May 2014 15:04:06 +0200 Subject: [U-Boot] ARM: zynq: sdhci clock frequency init question In-Reply-To: <99075D6EE6F8604C91868421B2682FFF1AFC493E19@IAD2MBX09.mex02.mlsrvr.com> References: <99075D6EE6F8604C91868421B2682FFF1AFC392C8A@IAD2MBX09.mex02.mlsrvr.com> <536A1CF6.8060100@monstr.eu> <99075D6EE6F8604C91868421B2682FFF1AFC493E19@IAD2MBX09.mex02.mlsrvr.com> Message-ID: <53760CC6.2050509@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/12/2014 08:48 PM, Krunal Desai wrote: >> From: Michal Simek [mailto:monstr AT monstr.eu] >> Sent: Wednesday, May 07, 2014 04:46 >> To: Krunal Desai; u-boot AT lists.denx.de >> Subject: Re: [U-Boot] ARM: zynq: sdhci clock frequency init question >> >> we didn't test this configuration that's why 52MHz is there as default case. >> I think that should be easily possible to detect MIO setting as we are >> doing for qspi/nand/usb. > > (Trying again due to base64-oddness with Outlook) > > Thanks for the reply Michal; that sounds very sane to me. To be clear, you'd basically read the MIO configuration registers to see whether SD is active on MIO, and if not, assume EMIO? (Or not used?) > >> We have this code in our xilinx repository and I have sent patches for >> mainline review >> 2 weeks ago or something like that. >> I haven't got any NACK and I am going to send pull request to ARM >> custodian when I fix fpga patches. > > Looking forward to seeing it, thanks for following up! Sorry for delay. I have sent pull request to Albert http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/zynq but here is the code we are talking about. ARM: zynq: Add MIO detection code Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: