The code was ported. Now it is what it should be.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5606 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
5f067015ea
commit
5d6aede981
|
@ -337,7 +337,7 @@ static void internal_gfx_pci_dev_init(struct device *dev)
|
|||
value = nbmc_read_index(nb_dev, 0x10);
|
||||
*(GpuF0MMReg + 0x2000/4) = 0x11;
|
||||
*(GpuF0MMReg + 0x2180/4) = ((value&0xff00)>>8)|((value&0xff000000)>>8);
|
||||
*(GpuF0MMReg + 0x2c04/4) = ((value&0xff0)<<8);
|
||||
*(GpuF0MMReg + 0x2c04/4) = ((value&0xff00)<<8);
|
||||
*(GpuF0MMReg + 0x5428/4) = ((value&0xffff0000)+0x10000)-((value&0xffff)<<16);
|
||||
*(GpuF0MMReg + 0x2000/4) = 0x00000011;
|
||||
*(GpuF0MMReg + 0x200c/4) = 0x00000020;
|
||||
|
|
Loading…
Reference in New Issue