From 5d6aede981a02bdef353bea09bd16f3cea4a4be9 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 3 Jun 2010 07:51:09 +0000 Subject: The code was ported. Now it is what it should be. Signed-off-by: Zheng Bao Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5606 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/rs780/rs780_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/rs780/rs780_gfx.c b/src/southbridge/amd/rs780/rs780_gfx.c index b1dd762ec5..753af0079f 100644 --- a/src/southbridge/amd/rs780/rs780_gfx.c +++ b/src/southbridge/amd/rs780/rs780_gfx.c @@ -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; -- cgit v1.2.3