]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM64: zynqmp: ep: Define minimum sdhci frequency for ep
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 5 Jan 2016 06:51:05 +0000 (12:21 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:55 +0000 (15:55 +0100)
Define minimum sdhci frequency for ep, as not defining
it causes the divisor to be 2048 as per sd version but
keeping clock very low on ep causes command failures.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp_ep.h

index ec39211af3db5a9c605e2ec6fe26b253a4f593da..ed7ae177bc9bd345f7cd23b8ad8544b51bca15c7 100644 (file)
@@ -17,6 +17,7 @@
 
 #define CONFIG_ZYNQ_SDHCI0
 #define CONFIG_ZYNQ_SDHCI_MAX_FREQ     52000000
+#define CONFIG_ZYNQ_SDHCI_MIN_FREQ     (CONFIG_ZYNQ_SDHCI_MAX_FREQ << 9)
 #define CONFIG_ZYNQ_I2C0
 #define CONFIG_SYS_I2C_ZYNQ
 #define CONFIG_ZYNQ_EEPROM