]> git.baikalelectronics.ru Git - uboot.git/commit
mips: spl: Flush cache before jumping to U-Boot proper
authorStefan Roese <sr@denx.de>
Tue, 21 Apr 2020 07:28:46 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commit72cd7b7fb6cd956f1410199e7e7440894e04ca84
tree45fa2af56fa92301e7c45a7e6e315c4d44b19d11
parent20729802c8de75b8b1f264f4803cc8cfae033bc3
mips: spl: Flush cache before jumping to U-Boot proper

This patch adds a MIPS specific jump_to_image_no_args() implementation,
which flushes the U-Boot proper image loaded from the boot device in
SPL before jumping to it.

It has been noticed on MT76x8, that this cache flush is needed. Other
MIPS platforms might need it as well.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/Makefile
arch/mips/lib/spl.c [new file with mode: 0644]