Jonas Karlman
320e366321
mmc: rockchip_sdhci: Use bounce buffer in SPL to fix read performance
...
The commit 3b804b370d
("mmc: rockchip_sdhci: Disable DMA mode using a
device tree property") and commit 2cc6cde647
("mmc: rockchip_sdhci:
Limit number of blocks read in a single command") implemented a
workaround to fix loading a part of TF-A into SRAM from eMMC in SPL.
This has resulted in very slow read performance of FIT from eMMC in SPL
on RK3588.
Change to make use of a bounce buffer to significantly improve the read
performance when malloc_limit is large enough and use PIO mode as fall
back.
Also update the size of align_buffer to use SDHCI_DEFAULT_BOUNDARY_SIZE
instead of a hardcoded 512 * 1024.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se >
Link: https://patchwork.ozlabs.org/patch/1895377/
2024-10-08 15:41:09 +02:00
..
2024-07-11 13:15:37 -06:00
2024-05-20 13:35:03 -06:00
2021-10-29 18:22:32 +09:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-01 22:40:08 +08:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-06 13:11:40 -03:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-23 10:37:48 -06:00
2024-05-20 13:35:03 -06:00
2024-04-15 15:19:12 +09:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2022-01-19 18:11:34 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-11-16 18:59:58 -05:00
2024-07-23 10:37:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-01-29 22:35:02 -05:00
2024-07-22 10:53:05 -06:00
2024-04-15 15:19:12 +09:00
2024-08-09 18:35:23 +08:00
2024-10-08 15:41:09 +02:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-08 15:41:09 +02:00
2024-05-20 13:35:03 -06:00
2024-03-02 14:29:36 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-11-12 16:45:08 +00:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2023-04-07 17:13:27 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-17 16:02:29 +02:00