u-boot/drivers
Dirk Behme 7a5b80297b mmc: fsl_esdhc: Poll until card is not busy anymore
This patch imports parts of two patches from the Freescale U-Boot with the following
commit messages:

ENGR00156405 ESDHC: Add workaround for auto-clock gate errata ENGcm03648
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/drivers/mmc/imx_esdhc.c?h=imx_v2009.08_12.01.01&id=e436525a70fe47623d346bc7d9f08f12ff8ad787
The errata, not applicable to USDHC, causes ESDHC to shut off clock to the card
when auto-clock gating is enabled for commands with busy signalling and no data
phase. The card might require the clock to exit the busy state, so the workaround
is to disable the auto-clock gate bits in SYSCTL register for such commands. The
workaround also entails polling on DAT0 bit in the PRSSTAT register to learn when
busy state is complete. Auto-clock gating is re-enabled at the end of busy state.

ENGR00156670-1 ESDHC/USDHC: Remove delay before each cmd and some bug fixes
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/drivers/mmc/imx_esdhc.c?h=imx_v2009.08_12.01.01&id=a77c6fec8596891be96b2cdbc742c9824844b92a
Removed delay of 10 ms before each command. There should not be a need to have this
delay after the ENGR00156405 patch that polls until card is not busy anymore before
proceeding to next cmd.

This patch imports the polling part of both patches. The auto-clock gating code
don't apply for i.MX6 as implemented in these two patches.

SYSCTL_RSTA was defined twice. Remove one definition.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
CC: Andy Fleming <afleming@freescale.com>
CC: Fabio Estevam <fabio.estevam@freescale.com>
CC: Stefano Babic <sbabic@denx.de>
2012-05-08 18:02:22 -05:00
..
bios_emulator drivers/bios_emulator/x86emu/ops2.c: Fix GCC 4.6 build warning 2011-11-27 15:45:47 +01:00
block Blackfin: pata_bfin: fix printf warning 2012-02-12 15:03:26 -05:00
dma DMA: Split the APBH DMA init into block and channel init 2012-04-16 14:53:59 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio imx: Return gpio_set_value in gpio_direction_output 2012-04-16 14:53:59 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c i2c:designware Turn off the ctrl when setting the speed 2012-04-24 09:57:00 +02:00
input x86: Fix some bugs in the i8402 driver when no controller is present 2011-11-29 21:31:35 +11:00
misc pmic_i2c: Return error in case of invalid pmic_i2c_tx_num 2012-03-27 09:41:16 +02:00
mmc mmc: fsl_esdhc: Poll until card is not busy anymore 2012-05-08 18:02:22 -05:00
mtd linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
net powerpc/corenet_ds: Slave module for boot from SRIO 2012-04-24 23:58:33 -05:00
pci pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power twl4030: fix potential power supply handling issues 2012-03-27 22:05:29 +02:00
qe net/miiphy/serial: drop duplicate "NAMESIZE" define 2012-03-18 20:11:22 +01:00
rtc arm, davinci: move davinci_rtc struct to hardware.h 2011-12-06 23:59:37 +01:00
serial Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-03-30 18:09:08 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb lin_gadget: use common linux/compat.h 2012-04-30 16:54:51 +02:00
video video: cfb_console: fix build warnings 2011-12-07 21:32:19 +01:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00