svn commit: r308232 - head/sys/dev/sdhci

Justin Hibbits jhibbits at FreeBSD.org
Wed Nov 2 23:44:32 UTC 2016


Author: jhibbits
Date: Wed Nov  2 23:44:30 2016
New Revision: 308232
URL: https://svnweb.freebsd.org/changeset/base/308232

Log:
  Since it's no longer accessing a powerpc-specific register, drop the #ifdef.

Modified:
  head/sys/dev/sdhci/fsl_sdhci.c

Modified: head/sys/dev/sdhci/fsl_sdhci.c
==============================================================================
--- head/sys/dev/sdhci/fsl_sdhci.c	Wed Nov  2 23:43:18 2016	(r308231)
+++ head/sys/dev/sdhci/fsl_sdhci.c	Wed Nov  2 23:44:30 2016	(r308232)
@@ -869,12 +869,10 @@ fsl_sdhci_attach(device_t dev)
 	 *
 	 * XXX need named constants for this stuff.
 	 */
-#ifdef __powerpc__
 	/* P1022 has the '*_BRST_LEN' fields as reserved, always reading 0x10 */
 	if (ofw_bus_is_compatible(dev, "fsl,p1022-esdhc"))
 		WR4(sc, SDHC_WTMK_LVL, 0x10801080);
 	else
-#endif
 		WR4(sc, SDHC_WTMK_LVL, 0x08800880);
 
 	/*


More information about the svn-src-head mailing list