Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2016 23:44:30 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308232 - head/sys/dev/sdhci
Message-ID:  <201611022344.uA2NiUk3060761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611022344.uA2NiUk3060761>