]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/fsl_esdhc.c
mtd: nand: mxs_nand: move structs into header file
[u-boot] / drivers / mmc / fsl_esdhc.c
index 6018f84307d18793f87f1f45e2da57861f3ff767..4528345c676202898a5dc62b773bf9b7aa1f5fac 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2007, 2010-2011 Freescale Semiconductor, Inc
  * Andy Fleming
@@ -5,8 +6,6 @@
  * Based vaguely on the pxa mmc code:
  * (C) Copyright 2003
  * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
@@ -983,7 +982,7 @@ static int esdhc_init_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)
 #endif
 
        /* Set the initial clock speed */
-       mmc_set_clock(mmc, 400000, false);
+       mmc_set_clock(mmc, 400000, MMC_CLK_ENABLE);
 
        /* Disable the BRR and BWR bits in IRQSTAT */
        esdhc_clrbits32(&regs->irqstaten, IRQSTATEN_BRR | IRQSTATEN_BWR);