Kconfig 1.0 KB

1234567891011121314151617181920212223242526
  1. menuconfig RT_USING_MBOX
  2. bool "Using Hardware Mailbox device drivers"
  3. depends on RT_USING_DM
  4. depends on RT_USING_OFW
  5. default n
  6. help
  7. Enable the mailbox framework so multi-core SoCs or remote processors can
  8. exchange messages via hardware mailbox/FIFO IP. The core registers mailbox
  9. controllers described in device tree, manages channel timeouts, and
  10. exposes asynchronous send/receive callbacks to drivers such as RPMsg or
  11. audio DSP clients. Disable it only when the SoC lacks mailbox hardware.
  12. config RT_MBOX_PIC
  13. bool "RT-Thread PIC Mailbox"
  14. depends on RT_USING_MBOX
  15. default y
  16. help
  17. Build the PIC mailbox controller driver which exposes RT-Thread's
  18. platform interrupt controller mailboxes through the common API. Select it
  19. when the firmware runs on platforms where the PIC provides mailbox
  20. registers (for example Sophgo SG2042); turning it off prevents those DTS
  21. nodes from binding.
  22. if RT_USING_MBOX
  23. osource "$(SOC_DM_MBOX_DIR)/Kconfig"
  24. endif