]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-bcm283x/include/mach/mbox.h
arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox
[karo-tx-uboot.git] / arch / arm / mach-bcm283x / include / mach / mbox.h
index 54d369c46c03094f7ad4633e8caa65cddba2c202..ff959c8a97d8ee3249a742b564a2bd1e8f2314da 100644 (file)
@@ -522,6 +522,9 @@ int bcm2835_mbox_call_raw(u32 chan, u32 send, u32 *recv);
  * a termination value are expected to immediately follow the header in
  * memory, as required by the property protocol.
  *
+ * Each struct bcm2835_mbox_hdr passed must be allocated with
+ * ALLOC_CACHE_ALIGN_BUFFER(x, y, z) to ensure proper cache flush/invalidate.
+ *
  * Returns 0 for success, any other value for error.
  */
 int bcm2835_mbox_call_prop(u32 chan, struct bcm2835_mbox_hdr *buffer);