From 7d08262ec37219b9c6d9285b17c7af8fb2ea562a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 21 Aug 2024 10:19:05 -0600 Subject: global_data: Remove pci_ram_top This field is set but not used. Drop it. Signed-off-by: Simon Glass --- include/asm-generic/global_data.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 7b6c5223e72..ae397380479 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -303,10 +303,6 @@ struct global_data { * @hose: PCI hose for early use */ struct pci_controller *hose; - /** - * @pci_ram_top: top of region accessible to PCI - */ - phys_addr_t pci_ram_top; #endif #ifdef CONFIG_PCI_BOOTDELAY /** @@ -565,12 +561,6 @@ static_assert(sizeof(struct global_data) == GD_SIZE); #define gd_set_malloc_start(val) #endif -#if CONFIG_IS_ENABLED(PCI) -#define gd_set_pci_ram_top(val) gd->pci_ram_top = val -#else -#define gd_set_pci_ram_top(val) -#endif - #if CONFIG_VAL(SYS_MALLOC_F_LEN) #define gd_malloc_ptr() gd->malloc_ptr #else -- cgit v1.2.3