gpio: imx_rgpio2p: Move 8ulp_data to data section
authorPeng Fan <peng.fan@nxp.com>
Tue, 3 Dec 2024 15:42:44 +0000 (23:42 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 7 Dec 2024 12:07:03 +0000 (09:07 -0300)
commit4af5084a3b8e97067b836179667c6d838084faea
tree1d4952855767926dbff076c046c542ab3b9caf91
parent6b535ce0fdb88e4ecff3282500a1ebd282ebd489
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: 51cfa66f2c4 ("gpio: imx_rgpio2p: support one address")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/gpio/imx_rgpio2p.c