]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r308186, r308188, r308231, r308232:
authorian <ian@FreeBSD.org>
Wed, 1 Mar 2017 21:02:26 +0000 (21:02 +0000)
committerian <ian@FreeBSD.org>
Wed, 1 Mar 2017 21:02:26 +0000 (21:02 +0000)
commitde0f5cf4ff4c40f2ca56f781456366447d24d494
tree9e19c9be5c236523fb38312fde0cbc27f1636509
parent729b5d708ca03f0facd9c13337866fa1cb306ebe
MFC r308186, r308188, r308231, r308232:

  Move imx_sdhci driver over to a dev/sdhci in preparation for QorIQ support.
  Freescale uses eSDHC in both i.MX (ARM) and QorIQ (PowerPC), with slight
  differences.  This is part one in unifying the drivers.

  Merge i.MX and PowerPC SDHCI drivers
  Summary:
  i.MX5 and PowerPC use a very similar eSDHC controller, which is also
  similar to the uSDHC controller used by i.MX6.  The imx_sdhci driver works
  almost completely with PowerPC, with some minor tweaks.

  Fix the build.  protctl is only used on powerpc.
  While here, remove the need to check the SVR SPR, as others may be compatible
  with the p1022-esdhc type.

  Since it's no longer accessing a powerpc-specific register, drop the #ifdef.
sys/arm/freescale/imx/files.imx5
sys/arm/freescale/imx/files.imx6
sys/conf/files.powerpc
sys/dev/sdhci/fsl_sdhci.c [moved from sys/arm/freescale/imx/imx_sdhci.c with 79% similarity]
sys/powerpc/mpc85xx/fsl_sdhc.c [deleted file]
sys/powerpc/mpc85xx/fsl_sdhc.h [deleted file]