mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
global_data: Remove pci_ram_top
This field is set but not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user