Re: [PATCH RESEND 14/14] treewide: Clean up DECLARE_GLOBAL_DATA_PTR usage
Patrice CHOTARD <[email protected]> Tue, 3 Feb 2026 13:44:02 +0100
| Newsgroups | io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
On 2/3/26 12:47, Peng Fan (OSS) wrote: > From: Peng Fan <[email protected]> > > 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 <[email protected]> > --- [...] > board/st/stm32f429-discovery/stm32f429-discovery.c | 3 --- > board/st/stm32f429-evaluation/stm32f429-evaluation.c | 3 --- > board/st/stm32f469-discovery/stm32f469-discovery.c | 3 --- > board/st/stm32f746-disco/stm32f746-disco.c | 3 --- > board/st/stm32h743-disco/stm32h743-disco.c | 3 --- > board/st/stm32h743-eval/stm32h743-eval.c | 3 --- > board/st/stm32h747-disco/stm32h747-disco.c | 3 --- > board/st/stm32h750-art-pi/stm32h750-art-pi.c | 3 --- > drivers/ram/stm32mp1/stm32mp1_tests.c | 3 --- For STMicroelectronics boards and STM32MP1 ram test driver: Reviewed-by: Patrice Chotard <[email protected]> Thanks Patrice