]> git.dujemihanovic.xyz Git - u-boot.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)
commit2a9d68e41f6d67432c19dc1d140f908df0401f2c
tree45fa2af56fa92301e7c45a7e6e315c4d44b19d11
parent814a8916a95487b6349093ff8998c81d77495eb1
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]