]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r261938, r261939, r261940, r261944, r261945, r261946, r261947, r261956, r261957...
authorian <ian@FreeBSD.org>
Thu, 15 May 2014 22:35:04 +0000 (22:35 +0000)
committerian <ian@FreeBSD.org>
Thu, 15 May 2014 22:35:04 +0000 (22:35 +0000)
commitdbea31deb0f37bf5ff55e4cd39230b347deba1c1
treecef68e1a6c248da2baa48f4d75039c40c41bf65d
parentedd0d85b77e836c83c4c913351ed136b5b963f9d
MFC r261938, r261939, r261940, r261944, r261945, r261946, r261947, r261956, r261957, r261983, r261094,
    r261955, r261958,

  Add a driver to provide access to imx6 on-chip one-time-programmble data.

  Make it possible to access the ocotp registers before the ocotp device
  is attached, by establishing a temporary mapping of the registers when
  necessary.

  It turns out Freescale cleverly made the ocotp device compatible across
  several different families of SoCs, so move it to the freescale directory
  and prefix everything with fsl rather than imx6.

  Convert the imx6 sdhci "R1B fix" from a busy-loop in the interrupt handler
  to a callout.

  Increase the wait time for acquiring the SD bus from 10 to 250ms.

  If no compatible cards were found after probing the SD bus, say so.

  Add timeout logic to sdhci, separate from the timeouts done by the hardware.

  After a timeout, reset the controller using SDHCI_RESET_CMD|SDHCI_RESET_DATA
  rather than SDHCI_RESET_ALL; the latter turns off clocks and power, removing
  any possibility of recovering from the error.

  Add a helper routine to depth-search the device tree for a node with a
  matching 'compatible' property.
sys/arm/freescale/fsl_ocotp.c [new file with mode: 0644]
sys/arm/freescale/fsl_ocotpreg.h [new file with mode: 0644]
sys/arm/freescale/fsl_ocotpvar.h [new file with mode: 0644]
sys/arm/freescale/imx/files.imx6
sys/arm/freescale/imx/imx_sdhci.c
sys/boot/fdt/dts/imx6.dtsi
sys/dev/fdt/fdt_common.c
sys/dev/fdt/fdt_common.h
sys/dev/mmc/mmc.c
sys/dev/sdhci/sdhci.c
sys/dev/sdhci/sdhci.h