public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spl, rk3399: fix FIT image loading out-of-range
@ 2022-06-29  8:01 Jerome Forissier
  2022-06-29  8:01 ` [PATCH v2 1/2] spl: fit: add config option for temporary buffer when loading image Jerome Forissier
  2022-06-29  8:01 ` [PATCH v2 2/2] rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed Jerome Forissier
  0 siblings, 2 replies; 3+ messages in thread
From: Jerome Forissier @ 2022-06-29  8:01 UTC (permalink / raw)
  To: u-boot
  Cc: Jerome Forissier, Jagan Teki, Simon Glass, Philipp Tomsich,
	Kever Yang, Alexandru Gagniuc, Jaehoon Chung, Heiko Schocher,
	Aswath Govindraju, Nishanth Menon

The patches in this series address an issue I met when trying to enable
FIT signature verification by SPL on a RockPi4B board.

- The first patch avoids a buffer overflow when writing to INTMEM1 SRAM
- The second one addresses reliability issues I had with back-to-back
MMC reads from the microSD card. By allowing DMA operation, the issue is
gone and generally speaking DMA is preferred over FIFO mode anyways.

Jerome Forissier (2):
  spl: fit: add config option for temporary buffer when loading image
  rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed

 arch/arm/dts/rk3399-u-boot.dtsi |  2 +
 common/spl/Kconfig              | 45 +++++++++++++++++++
 common/spl/spl_fit.c            | 79 ++++++++++++++++++++++++++++++---
 3 files changed, 120 insertions(+), 6 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-29  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29  8:01 [PATCH v2 0/2] spl, rk3399: fix FIT image loading out-of-range Jerome Forissier
2022-06-29  8:01 ` [PATCH v2 1/2] spl: fit: add config option for temporary buffer when loading image Jerome Forissier
2022-06-29  8:01 ` [PATCH v2 2/2] rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed Jerome Forissier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox