[PATCH v4] cmd: sf: prevent overwriting the reserved memory

Tom Rini trini at konsulko.com
Sat Sep 21 04:39:34 CEST 2024


On Fri, 13 Sep 2024 13:02:52 +0530, Prasad Kummari wrote:

> Added LMB API to prevent SF command from overwriting reserved
> memory areas. The current SPI code does not use LMB APIs for
> loading data into memory addresses. To resolve this, LMB APIs
> were added to check the load address of an SF command and ensure it
> does not overwrite reserved memory addresses. Similar checks are
> used in TFTP, serial load, and boot code to prevent overwriting
> reserved memory.
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list