u-boot/drivers/pinctrl/nxp
Lukasz Majewski c0df121a97 pinctrl: imx: Define imx6_pinctrl_soc_info in .data section
This commit is necessary to be able to re-use the pinctrl code in early
SPL to properly configure pins.

The problem is that those "static" structures (without explicit
initialization) are placed in the SDRAM area, which corresponds to
u-boot proper (not even SPL).
Hence, when one wants to configure pins before relocation via DTS/DM,
the board hangs (imx6q SoC powered one) as only OCRAM area is available
(0x009xxxxx).

This commit prevents from this issue by moving the imx6_pinctrl_soc_info
structure to data section (from BSS).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-06-11 10:43:00 +02:00
..
Kconfig pinctrl: add imx8m driver 2019-03-13 09:14:35 +01:00
Makefile pinctrl: add imx8m driver 2019-03-13 09:14:35 +01:00
pinctrl-imx.c pinctrl: imx: Fix select input issue 2019-01-28 20:35:47 +01:00
pinctrl-imx.h pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
pinctrl-imx5.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx6.c pinctrl: imx: Define imx6_pinctrl_soc_info in .data section 2019-06-11 10:43:00 +02:00
pinctrl-imx7.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx7ulp.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx8.c pinctrl: imx8: add i.MX8QM compatible 2019-04-25 17:03:25 +02:00
pinctrl-imx8m.c pinctrl: add imx8m driver 2019-03-13 09:14:35 +01:00
pinctrl-scu.c pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
pinctrl-vf610.c ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) 2019-01-01 14:12:18 +01:00