linux/drivers/pinctrl/freescale
Anders Roxell 9bc8fee96e pinctrl: imx: fix scu link errors
Currently PINCTRL_IMX8QM and PINCTRL_IMX8QXP will select PINCTRL_IMX_SCU.
However, PINCTRL_IMX_SCU may not be valid due to it depends on IMX_MBOX.
Then we may meet the following link errors:
ld: drivers/pinctrl/freescale/pinctrl-scu.o: in function `imx_pinctrl_sc_ipc_init':
pinctrl-scu.c:(.text+0x10): undefined reference to `imx_scu_get_handle'
ld: pinctrl-scu.c:(.text+0x10): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `imx_scu_get_handle'
ld: drivers/pinctrl/freescale/pinctrl-scu.o: in function `imx_pinconf_get_scu':
pinctrl-scu.c:(.text+0xa0): undefined reference to `imx_scu_call_rpc'
ld: pinctrl-scu.c:(.text+0xa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `imx_scu_call_rpc'
ld: drivers/pinctrl/freescale/pinctrl-scu.o: in function `imx_pinconf_set_scu':
pinctrl-scu.c:(.text+0x1b4): undefined reference to `imx_scu_call_rpc'
ld: pinctrl-scu.c:(.text+0x1b4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `imx_scu_call_rpc'
ld: drivers/pinctrl/freescale/pinctrl-imx8qxp.o: in function `imx8qxp_pinctrl_probe':
pinctrl-imx8qxp.c:(.text+0x28): undefined reference to `imx_pinctrl_probe'
ld: pinctrl-imx8qxp.c:(.text+0x28): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `imx_pinctrl_probe'

Rework so that PINCTRL_IMX8QM and PINCTRL_IMX8QXP depends on IMX_SCU
as well in case they're wrongly enabled.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-03-08 13:17:24 +01:00
..
Kconfig pinctrl: imx: fix scu link errors 2019-03-08 13:17:24 +01:00
Makefile pinctrl: freescale: Add imx8mm pinctrl driver support 2019-01-30 10:35:22 +01:00
pinctrl-imx.c pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads 2018-11-19 14:51:42 +01:00
pinctrl-imx.h pinctrl: fsl: add scu based pinctrl support 2018-11-05 09:33:32 +01:00
pinctrl-imx1-core.c pinctrl: Convert to using %pOFn instead of device_node.name 2018-08-29 14:05:36 +02:00
pinctrl-imx1.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx1.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6dl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6q.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sll.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sx.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6ul.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7d.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7ulp.c pinctrl: fsl: imx7ulp: change to use imx legacy binding 2018-11-09 10:54:29 +01:00
pinctrl-imx8mm.c pinctrl: freescale: Add imx8mm pinctrl driver support 2019-01-30 10:35:22 +01:00
pinctrl-imx8mq.c pinctrl: imx: add driver for i.MX8MQ 2018-07-16 14:46:11 +02:00
pinctrl-imx8qm.c pinctrl: imx: add imx8qm driver 2019-01-11 09:25:01 +01:00
pinctrl-imx8qxp.c pinctrl: imx: add imx8qxp driver 2018-11-05 09:33:32 +01:00
pinctrl-imx21.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx23.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx25.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx27.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx28.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx35.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx50.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx51.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx53.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-mxs.c pinctrl: mxs: do not export mxs_pinctrl_probe 2018-09-20 15:45:14 -07:00
pinctrl-mxs.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-scu.c pinctrl: fsl: add scu based pinctrl support 2018-11-05 09:33:32 +01:00
pinctrl-vf610.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00