mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
gpio: imx_rgpio2p: Move 8ulp_data to data section
have_dual_base is set to false, so the 8ulp_data will be put in BSS
section which conflicts with the area of u-boot.dtb which padded just
after u-boot-nodtb.bin. So move 8ulp_data to data section to avoid
its content being corrupted by dtb.
Fixes: 51cfa66f2c
("gpio: imx_rgpio2p: support one address")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
6b535ce0fd
commit
4af5084a3b
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ static struct imx_rgpio2p_soc_data imx7ulp_data = {
|
|||
.have_dual_base = true,
|
||||
};
|
||||
|
||||
static struct imx_rgpio2p_soc_data imx8ulp_data = {
|
||||
static struct imx_rgpio2p_soc_data imx8ulp_data __section(".data") = {
|
||||
.have_dual_base = false,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue