u-boot-brain/arch/mips
Stefan Roese fb9acad305 mips: cmd: go: Flush cache before jumping to app/image
It has been noticed on MT7628/88 platforms, that booting the RAM image
does not work reliably. Sometimes it works and sometimes not. Debugging
showed that this "might" be a cache related issue as very strange
errors occurred (e.g. output corrupted etc).

This patch adds a cache flush for the complete SDRAM area to the go cmd
before jumping to the entry point for the MIPS architecture. The
complete area is flushed as we don't know at this point, how big the
area of the "application" really is.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tested-by: Mauro Condarelli <mc5686@mclink.it>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Mauro Condarelli <mc5686@mclink.it>
Cc: Weijie Gao <weijie.gao@mediatek.com>
2020-04-09 19:00:00 +02:00
..
cpu MIPS: allow override of get_tbclk() 2020-04-09 18:55:59 +02:00
dts dts: mtmips: add default pinctrl to eth nodes for all boards 2019-10-25 17:20:44 +02:00
include/asm dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
lib mips: cmd: go: Flush cache before jumping to app/image 2020-04-09 19:00:00 +02:00
mach-ath79 common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
mach-bmips bmips: swapping IO space isn't required 2018-12-10 18:46:45 +01:00
mach-jz47xx common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
mach-mscc mips: vcoreiii: Fix cache coherency issues 2020-04-09 18:55:59 +02:00
mach-mtmips dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mach-pic32 dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
config.mk arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00
Kconfig MIPS: remove Micronas VCT boards 2019-11-29 16:18:35 +01:00
Makefile mips: rename mach-mt7620 to mach-mtmips 2019-05-03 16:43:11 +02:00
Makefile.postlink SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00