[PATCH 01/11] gpio: imx_rgpio2p: Move 8ulp_data to data section

Fabio Estevam festevam at gmail.com
Tue Dec 3 19:27:59 CET 2024


On Tue, Dec 3, 2024 at 11:37 AM Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
>
> From: Peng Fan <peng.fan at nxp.com>
>
> 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.
...
> -static struct imx_rgpio2p_soc_data imx8ulp_data = {
> +static struct imx_rgpio2p_soc_data imx8ulp_data __section(".data") = {
>         .have_dual_base = false,

Isn't it the same kind of problem that was discussed before?

https://lore.kernel.org/all/20241017034507.GJ4959@bill-the-cat/


More information about the U-Boot mailing list