[PATCH RESEND 14/14] treewide: Clean up DECLARE_GLOBAL_DATA_PTR usage
Yao Zi
me at ziyao.cc
Thu Feb 5 09:46:00 CET 2026
On Tue, Feb 03, 2026 at 07:47:01PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> Remove DECLARE_GLOBAL_DATA_PTR from files where gd is not used, and
> drop the unnecessary inclusion of asm/global_data.h.
>
> Headers should be included directly by the files that need them,
> rather than indirectly via global_data.h.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
For TH1520 changes,
Acked-by: Yao Zi <me at ziyao.cc>
Thanks for the clean up!
Regards,
Yao Zi
More information about the U-Boot
mailing list