Skip to content

Commit

Permalink
remoteproc: k3-m4: use the proper dependencies
Browse files Browse the repository at this point in the history
The TI_K3_M4_REMOTEPROC Kconfig entry selects OMAP2PLUS_MBOX, but that
driver in turn depends on other things, which the k4-m4 driver didn't.

This causes a Kconfig time warning:

  WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX
    Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3)
    Selected by [m]:
    - TI_K3_M4_REMOTEPROC [=m] && REMOTEPROC [=y] && (ARCH_K3 || COMPILE_TEST [=y])

because you can't select something that is unavailable.

Make the dependencies for TI_K3_M4_REMOTEPROC match those of the
OMAP2PLUS_MBOX driver that it needs.

Fixes: ebcf900 ("remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem")
Cc: Bjorn Andersson <[email protected]>
Cc: Martyn Welch <[email protected]>
Cc: Hari Nagalla <[email protected]>
Cc: Andrew Davis <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
torvalds committed Sep 24, 2024
1 parent 9ae2940 commit ba0c0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/remoteproc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ config TI_K3_DSP_REMOTEPROC

config TI_K3_M4_REMOTEPROC
tristate "TI K3 M4 remoteproc support"
depends on ARCH_K3 || COMPILE_TEST
depends on ARCH_OMAP2PLUS || ARCH_K3
select MAILBOX
select OMAP2PLUS_MBOX
help
Expand Down

0 comments on commit ba0c0cb

Please sign in to comment.