]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: remove unused global data ptr
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 18 Jan 2024 13:55:59 +0000 (14:55 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jan 2024 02:57:36 +0000 (10:57 +0800)
Remove leftover import and global data ptr from files since they aren't
used anymore.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/rk3128/rk3128.c
arch/arm/mach-rockchip/rk3308/rk3308.c
arch/arm/mach-rockchip/rk3328/rk3328.c
arch/arm/mach-rockchip/rk3368/rk3368.c
arch/arm/mach-rockchip/rk3399/rk3399.c
arch/arm/mach-rockchip/rk3588/rk3588.c

index c1cfe0ea1d25605f70a3dddc2881b54c4ccb0364..2620530e03fb7bf0adb3b068074982a4413688ba 100644 (file)
@@ -16,7 +16,6 @@
 #include <syscon.h>
 #include <uuid.h>
 #include <asm/cache.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/boot_mode.h>
 #include <asm/arch-rockchip/clock.h>
@@ -24,8 +23,6 @@
 #include <asm/arch-rockchip/misc.h>
 #include <power/regulator.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #if defined(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) && defined(CONFIG_EFI_PARTITION)
 
 #define DFU_ALT_BUF_LEN                        SZ_1K
index 01dbfa75cb2b1b1ff8649d02a824e8ee7bdaec50..8f8f4951baedd22c768e374cfc0d9aa51d556581 100644 (file)
@@ -4,9 +4,6 @@
  */
 #include <common.h>
 #include <init.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
 
 int arch_cpu_init(void)
 {
index 5763604dc3e20bf9bff8f825bf8d2d0a9e45e419..6f121bf1304d697ab8bbb0d93debfef507579a9b 100644 (file)
@@ -5,7 +5,6 @@
 #include <common.h>
 #include <init.h>
 #include <malloc.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/grf_rk3308.h>
 #include <asm/arch-rockchip/bootrom.h>
@@ -14,8 +13,6 @@
 #include <debug_uart.h>
 #include <linux/bitops.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #include <asm/armv8/mmu.h>
 static struct mm_region rk3308_mem_map[] = {
        {
index ca623c0d3d031553a22efb50c9464459b24c0609..b591d38fe4123e445c56dca343c7d5b71cc4f894 100644 (file)
 #include <asm/arch-rockchip/grf_rk3328.h>
 #include <asm/arch-rockchip/uart.h>
 #include <asm/armv8/mmu.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define CRU_BASE               0xFF440000
 #define GRF_BASE               0xFF100000
 #define UART2_BASE             0xFF130000
index d0a6107e5e0e62e02b0f2e723d6dec0b7cb15cbe..d009b8758e5babe05fdcddf7b3303115323acfa7 100644 (file)
@@ -8,7 +8,6 @@
 #include <init.h>
 #include <syscon.h>
 #include <asm/armv8/mmu.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/clock.h>
@@ -18,8 +17,6 @@
 #include <linux/bitops.h>
 #include <linux/delay.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define IMEM_BASE                  0xFF8C0000
 
 /* Max MCU's SRAM value is 8K, begin at (IMEM_BASE + 4K) */
index 801a4a6662e0fc17066ec3c37a7aef1d21740f90..a1aa0e3e8b5a8bbaaa2a4eab977be70f209c5ccf 100644 (file)
@@ -11,7 +11,6 @@
 #include <spl_gpio.h>
 #include <syscon.h>
 #include <asm/armv8/mmu.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/clock.h>
@@ -23,8 +22,6 @@
 #include <linux/printk.h>
 #include <power/regulator.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define GRF_EMMCCORE_CON11 0xff77f02c
 #define GRF_BASE       0xff770000
 
index 91c9d32e496cd9548e67dd2f4dbd5d52d44ec0a3..38e95a6e2b28feb44218543c56a6fe2252326fca 100644 (file)
@@ -12,8 +12,6 @@
 #include <asm/arch-rockchip/hardware.h>
 #include <asm/arch-rockchip/ioc_rk3588.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define FIREWALL_DDR_BASE              0xfe030000
 #define FW_DDR_MST5_REG                        0x54
 #define FW_DDR_MST13_REG               0x74