- Fix up amd pistachio and dbm690t.
- make uma_memory_base and uma_memory_size uint64_t as they may be 64bit BARs on some platforms. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3949 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
a175533dc3
commit
5389c7f72b
@@ -307,10 +307,10 @@ u8 PcieTrainPort(device_t nb_dev, device_t dev, u32 port)
|
||||
*/
|
||||
void rs690_set_tom(device_t nb_dev)
|
||||
{
|
||||
extern unsigned long uma_memory_start;
|
||||
extern uint64_t uma_memory_base;
|
||||
|
||||
/* set TOM */
|
||||
pci_write_config32(nb_dev, 0x90, uma_memory_start);
|
||||
nbmc_write_index(nb_dev, 0x1e, uma_memory_start);
|
||||
pci_write_config32(nb_dev, 0x90, uma_memory_base);
|
||||
nbmc_write_index(nb_dev, 0x1e, uma_memory_base);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user