summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-21 10:19:05 -0600
committerTom Rini <[email protected]>2024-08-26 14:05:38 -0600
commit7d08262ec37219b9c6d9285b17c7af8fb2ea562a (patch)
treec8cb6872100f2c46ef9dbf1ac47da2976bd42091 /include
parentf44fded23620e264525e482efbc2e061fab5702b (diff)
global_data: Remove pci_ram_top
This field is set but not used. Drop it. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/global_data.h10
1 files changed, 0 insertions, 10 deletions
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