diff options
author | Zheng Bao <zheng.bao@amd.com> | 2010-10-13 05:16:48 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2010-10-13 05:16:48 +0000 |
commit | f2573bd23727db672b22f3840ce91d08ec3aea5d (patch) | |
tree | 7fe4f64763de8a0e9c33a9adb136f24f6284d20d /src/southbridge/amd/rs690/rs690_cmn.c | |
parent | 89122856e06822e08040cc9e87496c9b649a743b (diff) |
Fix a stupid bug in rs780 and rs690 code.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Scott Duplichan <scott@notabs.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5947 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/rs690/rs690_cmn.c')
-rw-r--r-- | src/southbridge/amd/rs690/rs690_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/rs690/rs690_cmn.c b/src/southbridge/amd/rs690/rs690_cmn.c index 22d80fcf32..dc34319e94 100644 --- a/src/southbridge/amd/rs690/rs690_cmn.c +++ b/src/southbridge/amd/rs690/rs690_cmn.c @@ -72,7 +72,7 @@ void pci_ext_write_config32(device_t nb_dev, device_t dev, u32 reg_pos, u32 mask reg &= ~mask; reg |= val; if (reg != reg_old) { - *((u32 *) addr) = val; + *((u32 *) addr) = reg; } } |