diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-04-18 11:30:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-04-21 08:29:45 +0200 |
commit | 33943a5120dafe01ceac476c2d0945695302f373 (patch) | |
tree | c4018dd2d75cbc5b155ed20fb8438277728a2c27 /defaultenv | |
parent | 3a3cd967288055777a692fabba7c94cf9259e500 (diff) | |
download | barebox-33943a5120dafe01ceac476c2d0945695302f373.tar.gz |
mci: imx-esdhc: add uSDHC eMMC DDR52 support
The uSDHC available with the i.MX6/7/8 SoCs has support for DDR
clock operation. This is enabled by flipping a bit in
IMX_SDHCI_MIXCTRL and adjusting the clock divider calculation to
account for the automatic internal halving of the clock.
Let's do that to speed up boot from eMMC. How much effect this has
in practice is not constant. Comparing two Kingston eMMCs: DDR on the
older v4.5 connected to an i.MX6 did not yield any difference. On the
newer v5.1 one connected to an i.MX8MM, I observe a 70% improvement in
sequential read throughput: from 40MiB/s to 69.5 MiB/s.
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230418093040.1865982-5-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
0 files changed, 0 insertions, 0 deletions