1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-19 23:27:22 +01:00
Files
u-boot-megous/drivers
Masahiro Yamada 3d3108d459 mmc: sdhci-cadence: set timing mode register depending on frequency
The MMC framework in U-Boot does not support a systematic API for
timing switch like mmc_set_timing() in Linux.

U-Boot just provides a hook to change the clock frequency via
mmc_set_clock().  It is up to drivers if additional register
settings are needed.

This driver needs to set a correct timing mode into a register when
it migrates to a different speed mode.  Only increasing clock frequency
could result in setup/hold timing violation.

The timing mode should be decided by checking MMC_TIMING_* like
drivers/mmc/host/sdhci-cadence.c in Linux, but "timing" is not
supported by U-Boot for now.  Just use mmc->clock to decide the
timing mode.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-09-29 11:34:22 +09:00
..
2017-06-01 07:03:13 -06:00
2017-09-04 09:02:07 -04:00
2017-08-16 08:30:24 -04:00
2017-09-18 20:40:35 +02:00
2017-09-22 07:40:02 -04:00
2017-09-22 07:39:57 -04:00
2017-07-28 12:02:47 -06:00
2017-09-22 07:40:01 -04:00
2017-08-16 08:30:24 -04:00
2016-02-06 12:00:59 +01:00
2017-06-01 07:03:10 -06:00
2017-06-01 07:03:01 -06:00
2017-05-18 11:23:31 +02:00
2017-06-01 07:03:01 -06:00
2017-08-13 15:17:31 -04:00