summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/amd/rs690/rs690_pcie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/rs690/rs690_pcie.c b/src/southbridge/amd/rs690/rs690_pcie.c
index 5e80849d7f..9691e4ed18 100644
--- a/src/southbridge/amd/rs690/rs690_pcie.c
+++ b/src/southbridge/amd/rs690/rs690_pcie.c
@@ -133,8 +133,8 @@ static void switching_gpp_configurations(device_t nb_dev, device_t sb_dev)
/* sets desired GPPSB configurations, bit4-7 */
reg = nbmisc_read_index(nb_dev, 0x67);
- reg &= 0xff0f; /* clean */
- reg |= cfg->gpp_configuration;
+ reg &= 0xffffff0f; /* clean */
+ reg |= cfg->gpp_configuration << 4;
nbmisc_write_index(nb_dev, 0x67, reg);
/* read bit14 and write back its inverst value */