]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-imx: bootaux: add dcache flushing before enabling M4
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Thu, 28 Nov 2019 13:56:20 +0000 (15:56 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
commit89038264bb242787826fa4621dca80f7f9594a7f
tree49ac0abf3dc7f5e656696fe205fb9df03410f2c5
parent0ba1b4de0e2d05a9b10cf25b1ee45631606db6ba
mach-imx: bootaux: add dcache flushing before enabling M4

This patch fixes the issue with broken bootaux command,
when M4 binary is loaded and data cache isn't flushed
before M4 core is enabled.

Reproducing:
> tftpboot ${loadaddr} ${board_name}/hello_world.bin
> cp.b ${loadaddr} 0x7F8000 $filesize
> bootaux 0x7F8000

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/mach-imx/imx_bootaux.c