Skip to content

Commit 51f0b89

Browse files
arndbstorulf
authored andcommitted
firmware: thead: add CONFIG_MAILBOX dependency
Without this, the driver fails to build: ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_call_rpc': thead,th1520-aon.c:(.text+0x28): undefined reference to `mbox_send_message' ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_deinit': thead,th1520-aon.c:(.text+0x17e): undefined reference to `mbox_free_channel' ld: drivers/firmware/thead,th1520-aon.o: in function `th1520_aon_init': thead,th1520-aon.c:(.text+0x1d9): undefined reference to `mbox_request_channel_byname' Fixes: e4b3cbd ("firmware: thead: Add AON firmware protocol driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Michal Wilczynski <m.wilczynski@samsung.com> Link: https://lore.kernel.org/r/20250314154816.4045334-1-arnd@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent ae85dab commit 51f0b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ config SYSFB_SIMPLEFB
215215
config TH1520_AON_PROTOCOL
216216
tristate "Always-On firmware protocol"
217217
depends on ARCH_THEAD || COMPILE_TEST
218+
depends on MAILBOX
218219
help
219220
Power, clock, and resource management capabilities on the TH1520 SoC are
220221
managed by the E902 core. Firmware running on this core communicates with

0 commit comments

Comments
 (0)