|
@@ -173,6 +173,15 @@ void cpu_init_f(void)
|
|
|
|
|
|
/* Lowest slew rate for UART0,1,2 */
|
|
|
out_8(&gpio->srcr_uart, 0x00);
|
|
|
+
|
|
|
+#ifdef CONFIG_FSL_ESDHC
|
|
|
+ /* eSDHC pin as faster speed */
|
|
|
+ out_8(&gpio->srcr_sdhc, 0x03);
|
|
|
+
|
|
|
+ /* All esdhc pins as SD */
|
|
|
+ out_8(&gpio->par_sdhch, 0xff);
|
|
|
+ out_8(&gpio->par_sdhcl, 0xff);
|
|
|
+#endif
|
|
|
#endif /* CONFIG_MCF5441x */
|
|
|
|
|
|
#ifdef CONFIG_MCF5445x
|
|
@@ -534,4 +543,5 @@ void cfspi_release_bus(uint bus, uint cs)
|
|
|
clrbits_8(&gpio->par_dspiow, GPIO_PAR_DSPIOW_DSPI0PSC1);
|
|
|
#endif
|
|
|
}
|
|
|
+
|
|
|
#endif
|