mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-08 06:06:11 +02:00
pinctrl: imx5: move soc info to data section
The soc info without initialization value should be put into data section. The driver could be used before relocation, with it in BSS section could cause issue, since BSS section is not initializated and it might overwrite other areas that used by others, such as dtb. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
4b8c6030da
commit
683a91cdbd
@ -10,7 +10,7 @@
|
||||
|
||||
#include "pinctrl-imx.h"
|
||||
|
||||
static struct imx_pinctrl_soc_info imx5_pinctrl_soc_info;
|
||||
static struct imx_pinctrl_soc_info imx5_pinctrl_soc_info __attribute__((section(".data")));
|
||||
|
||||
static int imx5_pinctrl_probe(struct udevice *dev)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user