[PATCH] cmd: sf: prevent overwriting the reserved memory
Tom Rini
trini at konsulko.com
Wed Aug 7 23:12:21 CEST 2024
On Tue, Aug 06, 2024 at 05:37:00PM +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.
>
> Signed-off-by: Prasad Kummari <prasad.kummari at amd.com>
This is a much more generic issue that should be looked in to with the
LMB rewrite that Sughosh is working on.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240807/2a752b96/attachment.sig>
More information about the U-Boot
mailing list