]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:13 +0000 (09:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:25:46 +0000 (08:25 +0200)
commit249adba797e34bb93fc17d80ba63ab07cf9af086
treebd0b8af03923b96b22de9a5390e18c22437fa614
parent7f1e24ecb06dc447bdb33d05f4b47cbe1ca9c824
arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox

When using dcache the setup data for the mailbox must be actually written
into memory before calling into firmware. Thus flush and invalidate the
memory.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/mach-bcm283x/include/mach/mbox.h
arch/arm/mach-bcm283x/mbox.c