spl: spl_legacy: Add extra address checks
authorMarek Vasut <marex@denx.de>
Mon, 29 May 2023 12:04:06 +0000 (14:04 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Jun 2023 17:47:00 +0000 (13:47 -0400)
commit77aed22b48ab789491cf96cd2ba3128124e51eee
treeff2409d6742312abfeb818ac0b81b582d012bca8
parent68dcbdd594d4172632ca6b122c56ec87ca551cf4
spl: spl_legacy: Add extra address checks

Check whether the loaded image or entry point does not overlap SPL.

Signed-off-by: Marek Vasut <marex@denx.de>
cmd/Kconfig
common/spl/spl_legacy.c