1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-15 03:19:28 +01:00
Files
u-boot-megous/drivers
Jonas Karlman 2cc6cde647 mmc: rockchip_sdhci: Limit number of blocks read in a single command
Using DMA to load TF-A into SRAM fails when booting from eMMC on RK3588.

  ## Checking hash(es) for Image atf-3 ... sha256 error!
  Bad hash value for 'hash' hash node in 'atf-3' image node
  spl_load_simple_fit: can't load image loadables index 2 (ret = -1)
  mmc_load_image_raw_sector: mmc block read error

Fix this by using PIO mode in SPL and limit the number of blocks used in
a single read command to avoid triggering Data End Bit Error interrupt.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-04-21 15:55:29 +08:00
..
2023-03-03 09:49:02 -05:00
2023-02-10 07:41:39 -05:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-01-13 07:57:49 -05:00
2023-04-11 06:51:56 +02:00
2023-04-16 12:30:46 +02:00
2023-03-02 17:45:58 -05:00
2023-01-20 12:27:24 -05:00
2023-04-21 15:16:01 +08:00
2023-04-01 10:11:50 +02:00
2023-01-24 13:55:05 +01:00
2023-04-03 16:45:41 -04:00
2022-10-11 16:03:03 -04:00
2023-03-27 15:19:57 -04:00
2023-02-10 07:41:41 -05:00
2023-03-02 17:45:58 -05:00