Author: zbao Date: Thu Jun 3 09:51:09 2010 New Revision: 5606 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5606
Log: 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
Modified: trunk/src/southbridge/amd/rs780/rs780_gfx.c
Modified: trunk/src/southbridge/amd/rs780/rs780_gfx.c ============================================================================== --- trunk/src/southbridge/amd/rs780/rs780_gfx.c Wed Jun 2 23:13:44 2010 (r5605) +++ trunk/src/southbridge/amd/rs780/rs780_gfx.c Thu Jun 3 09:51:09 2010 (r5606) @@ -337,7 +337,7 @@ 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;