From 0f90b1e715f8abe41b0875752eb184f46032ff11 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Mon, 9 Feb 2026 09:30:18 +0800 Subject: treewide: Clean up DECLARE_GLOBAL_DATA_PTR usage 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. Reviewed-by: Patrice Chotard #STMicroelectronics boards and STM32MP1 ram test driver Tested-by: Anshul Dalal #TI boards Acked-by: Yao Zi #TH1520 Signed-off-by: Peng Fan --- include/relocate.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/relocate.h b/include/relocate.h index 8ca25e1105e..331be138728 100644 --- a/include/relocate.h +++ b/include/relocate.h @@ -8,9 +8,7 @@ #define _RELOCATE_H_ #ifndef USE_HOSTCC -#include -DECLARE_GLOBAL_DATA_PTR; #endif /** -- cgit v1.2.3