]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tegra: pmc: Cleanup headers
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Feb 2026 01:30:12 +0000 (09:30 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 17 Feb 2026 19:50:22 +0000 (13:50 -0600)
No gd users, so remove DECLARE_GLOBAL_DATA_PTR and the including of
"asm/global_data.h". And include "asm/arch-tegra/tegra.h" to avoid
build error.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-tegra/pmc.c

index 3f968d4aeae862053dc4e7f26335ebbe1bbb9aa5..019c4b0b21f3b6712d2f577181fd6815ad826e09 100644 (file)
@@ -5,14 +5,12 @@
 
 #include <cpu_func.h>
 #include <log.h>
-#include <asm/global_data.h>
 
 #include <linux/arm-smccc.h>
 
 #include <asm/io.h>
 #include <asm/arch-tegra/pmc.h>
-
-DECLARE_GLOBAL_DATA_PTR;
+#include <asm/arch-tegra/tegra.h>
 
 #if IS_ENABLED(CONFIG_TEGRA_PMC_SECURE)
 static bool tegra_pmc_detect_tz_only(void)