[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210116033259.31941-1-rdunlap@infradead.org>
Date: Fri, 15 Jan 2021 19:32:59 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
kernel test robot <lkp@...el.com>,
Atish Patra <atish.patra@....com>,
Palmer Dabbelt <palmerdabbelt@...gle.com>,
Ard Biesheuvel <ardb@...nel.org>,
Anson Huang <Anson.Huang@....com>,
Daniel Baluta <daniel.baluta@....com>,
Shawn Guo <shawnguo@...nel.org>,
Dong Aisheng <aisheng.dong@....com>
Subject: [PATCH] imx: select SOC_BUS to fix firmware build
Fix build error in firmware/imx/ selecting SOC_BUS.
riscv32-linux-ld: drivers/firmware/imx/imx-scu-soc.o: in function `.L9':
imx-scu-soc.c:(.text+0x1b0): undefined reference to `soc_device_register'
Fixes: edbee095fafb ("firmware: imx: add SCU firmware driver support")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Reported-by: kernel test robot <lkp@...el.com>
Cc: Atish Patra <atish.patra@....com>
Cc: Palmer Dabbelt <palmerdabbelt@...gle.com>
Cc: Ard Biesheuvel <ardb@...nel.org>
Cc: Anson Huang <Anson.Huang@....com>
Cc: Daniel Baluta <daniel.baluta@....com>
Cc: Shawn Guo <shawnguo@...nel.org>
Cc: Dong Aisheng <aisheng.dong@....com>
---
drivers/firmware/imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20210115.orig/drivers/firmware/imx/Kconfig
+++ linux-next-20210115/drivers/firmware/imx/Kconfig
@@ -13,6 +13,7 @@ config IMX_DSP
config IMX_SCU
bool "IMX SCU Protocol driver"
depends on IMX_MBOX
+ select SOC_BUS
help
The System Controller Firmware (SCFW) is a low-level system function
which runs on a dedicated Cortex-M core to provide power, clock, and
Powered by blists - more mailing lists