imx: select SOC_BUS to fix firmware build
PATCH 1/1 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'
--- drivers/firmware/imx/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/imx/Kconfig +1 -0
@@ -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
Quoted 3 lines
From: Randy Dunlap <[email protected]>
Sent: Saturday, January 16, 2021 11:33 AM
Subject: [PATCH] imx: selectSOC_BUSto fix firmware build
Patch title probably is better to be:
firmware: imx: xxxxx
Otherwise:
Regards
Aisheng
Quoted 30 lines
Fix build error in
firmware/imx/selectingSOC_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 <[email protected]>Reported-by kernel test robot <[email protected]>Cc Atish Patra <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Ard Biesheuvel <[email protected]>Cc Anson Huang <[email protected]>Cc Daniel Baluta <[email protected]>Cc Shawn Guo <[email protected]>Cc Dong Aisheng <[email protected]>--- drivers/firmware/imx/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/firmware/imx/Kconfig +1
-0@@ -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
Quoted 6 lines · Aisheng Dong
Quoted 3 lines
From: Randy Dunlap <[email protected]>
Sent: Saturday, January 16, 2021 11:33 AM
Subject: [PATCH] imx: selectSOC_BUSto fix firmware buildPatch title probably is better to be:
firmware: imx: xxxxx
Fixed it up and applied.