]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Correct the sdhci minimum frequency for ep108
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 1 Nov 2016 18:19:53 +0000 (23:49 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Nov 2016 07:06:55 +0000 (08:06 +0100)
Correct the sdhci minimum frequency for ep platform.
It should be right shift instead of left shift operand.

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 c5bd5da43c5e198697b658d1cb6bf6206d4b9342..6f220a2d71a6e9e6b1de392dcc91479ff369b1e2 100644 (file)
@@ -14,7 +14,7 @@
 #define __CONFIG_ZYNQMP_EP_H
 
 #define CONFIG_ZYNQ_SDHCI_MAX_FREQ     52000000
-#define CONFIG_ZYNQ_SDHCI_MIN_FREQ     (CONFIG_ZYNQ_SDHCI_MAX_FREQ << 9)
+#define CONFIG_ZYNQ_SDHCI_MIN_FREQ     (CONFIG_ZYNQ_SDHCI_MAX_FREQ >> 9)
 #define CONFIG_ZYNQ_EEPROM
 #define CONFIG_AHCI
 #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR, \