northbridge/intel: Drop use of set_top_of_ram()
We implement get_top_of_ram() on these chipset to resolve CBMEM location early in romstage. Call to set_top_ram() is not required. Change-Id: I492e436b0c32d2c24677265b35afd05f29dcd0f8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6031 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
191d221920
commit
c862e44162
|
@ -165,8 +165,6 @@ static void mch_domain_read_resources(device_t dev)
|
|||
fixed_mem_resource(dev, 7, pcie_config_base >> 10,
|
||||
pcie_config_size >> 10, IORESOURCE_RESERVE);
|
||||
}
|
||||
|
||||
set_top_of_ram(tomk << 10);
|
||||
}
|
||||
|
||||
static void mch_domain_set_resources(device_t dev)
|
||||
|
|
|
@ -170,8 +170,6 @@ static void pci_domain_set_resources(device_t dev)
|
|||
add_fixed_resources(dev, 7);
|
||||
|
||||
assign_resources(dev->link_list);
|
||||
|
||||
set_top_of_ram(tomk_stolen * 1024);
|
||||
}
|
||||
|
||||
/* TODO We could determine how many PCIe busses we need in
|
||||
|
|
|
@ -164,8 +164,6 @@ static void mc_read_resources(device_t dev)
|
|||
bad_ram_resource(dev, 9, 0x1fc000000ULL >> 10, 0x004000000 >> 10);
|
||||
|
||||
add_fixed_resources(dev, 10);
|
||||
|
||||
set_top_of_ram(tseg_base);
|
||||
}
|
||||
|
||||
static void mc_set_resources(device_t dev)
|
||||
|
|
|
@ -251,8 +251,6 @@ static void pci_domain_set_resources(device_t dev)
|
|||
add_fixed_resources(dev, 6);
|
||||
|
||||
assign_resources(dev->link_list);
|
||||
|
||||
set_top_of_ram(tomk * 1024);
|
||||
}
|
||||
|
||||
/* TODO We could determine how many PCIe busses we need in
|
||||
|
|
Loading…
Reference in New Issue