HomeFreeBSD

Refactor mailbox property API to make it usable for /dev/vcio driver:

Description

Refactor mailbox property API to make it usable for /dev/vcio driver:

  • Add bcm2835_mbox_property for generic property request, it accepts pointer to prepared property chan message and its size, forwards it to MBOX and copies result back
  • Make all bcm2835_mbox_XXX functions that use property channel go through bcm2835_mbox_property path. Do not accept device_t as an argument, it's not required: all DMA operatiosn should go through mbox device, and all API consumers should report errors on their side.

Details

Provenance
gonzoAuthored on
Parents
rS290380: Add support for s25fl256s. I /think/ it's a 32mb NOR flash part.
Branches
Unknown
Tags
Unknown