u-boot-brain/arch/mips/lib
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
..
ashldi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
ashrdi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
asm-offsets.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
boot.c mips: cmd: go: Flush cache before jumping to app/image 2020-04-09 19:00:00 +02:00
bootm.c env: Move env_init() to env.h 2019-08-11 16:43:41 -04:00
cache_init.S MIPS: cache: remove config option CONFIG_SYS_MIPS_CACHE_MODE 2018-09-22 21:04:10 +02:00
cache.c MIPS: allow override of flush_dcache_range() 2020-04-09 18:55:59 +02:00
genex.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
libgcc.h dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
lshrdi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
Makefile mips: cmd: go: Flush cache before jumping to app/image 2020-04-09 19:00:00 +02:00
reloc.c common: Move relocate_code() to init.h 2020-01-17 13:26:49 -05:00
stack.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
traps.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00