[coreboot] New patch to review for coreboot: e74bd22 rs780: use bitwise rather than boolean not
Jonathan A. Kollasch (jakllsch@kollasch.net)
gerrit at coreboot.org
Thu Jan 5 02:39:33 CET 2012
Jonathan A. Kollasch (jakllsch at kollasch.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/518
-gerrit
commit e74bd229bfc01533d9547b519b0ed1afdbc776c5
Author: Jonathan A. Kollasch <jakllsch at kollasch.net>
Date: Wed Jan 4 19:37:48 2012 -0600
rs780: use bitwise rather than boolean not
Change-Id: Ie3872c57990f9784aafda14f8c7fc842b3a65260
Signed-off-by: Jonathan A. Kollasch <jakllsch at kollasch.net>
---
src/southbridge/amd/rs780/pcie.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/southbridge/amd/rs780/pcie.c b/src/southbridge/amd/rs780/pcie.c
index 5e2d985..b55da89 100644
--- a/src/southbridge/amd/rs780/pcie.c
+++ b/src/southbridge/amd/rs780/pcie.c
@@ -72,7 +72,7 @@ static void PciePowerOffGppPorts(device_t nb_dev, device_t dev, u32 port)
state = ~state;
state &= (1 << 4) + (1 << 5) + (1 << 6) + (1 << 7);
state_save = state << 17;
- state &= !(AtiPcieCfg.PortHp);
+ state &= ~(AtiPcieCfg.PortHp);
reg = nbmisc_read_index(nb_dev, 0x0c);
reg |= state;
nbmisc_write_index(nb_dev, 0x0c, reg);
More information about the coreboot
mailing list