]> git.dujemihanovic.xyz Git - u-boot.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)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:42 +0000 (20:47 -0400)
commit4342557fad308dd4ca8f9c2e74ea4f2dbddd5685
tree6c7b10c7dd18d461dcd6fbc2449eae3644c9bb77
parent927753aeb93f100d73b7ed034238633df41891bc
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