mailbox: Build Broadcom FlexRM driver as loadable module for iProc SOCs
authorAnup Patel <anup.patel@broadcom.com>
Tue, 3 Oct 2017 05:21:52 +0000 (10:51 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 27 Oct 2017 07:33:05 +0000 (13:03 +0530)
By default, we build Broadcom FlexRM driver as loadable module for
iProc SOCs so that kernel image is little smaller and we load FlexRM
driver only when required.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig

index 3161f23..ba2f152 100644 (file)
@@ -166,7 +166,7 @@ config BCM_FLEXRM_MBOX
        depends on ARCH_BCM_IPROC || COMPILE_TEST
        depends on HAS_DMA
        select GENERIC_MSI_IRQ_DOMAIN
-       default ARCH_BCM_IPROC
+       default m if ARCH_BCM_IPROC
        help
          Mailbox implementation of the Broadcom FlexRM ring manager,
          which provides access to various offload engines on Broadcom