]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: booti: do not force relocation if force_reloc is not set
authorVitaly Wool <vitaly.wool@konsulko.com>
Tue, 6 Apr 2021 07:50:16 +0000 (10:50 +0300)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 21 Jul 2021 08:38:26 +0000 (16:38 +0800)
commitea11f1d9d7301b2119dee02ff6ec2aba2ce5d7fd
treee72b79a066ba984d541b17b7ec03e437cbf1c747
parent2222b1df56a1cac93c0142f85a2e347665ea3740
riscv: booti: do not force relocation if force_reloc is not set

If force_reloc flag is not set and booti is called for an address
ouside RAM (i. e. QSPI NOR flash), we should honor that and not try
to force relocation in a bogus fashion.

Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/lib/image.c