[U-Boot] ARM: zynq: sdhci clock frequency init question

Krunal Desai kdesai at planetaryresources.com
Mon May 12 20:48:28 CEST 2014


> 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!

Krunal Desai
Avionics Engineer
Planetary Resources


More information about the U-Boot mailing list