diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-10 15:19:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-28 17:56:29 +0100 |
commit | d3060edce222a372e3935ff6c270479815aafbe4 (patch) | |
tree | b29db0b8ed06f85a27f75bf06d786088906e3ffe /src/northbridge/intel/i945/i945.h | |
parent | 24d875bddc5812b3b9041f557019fea14a71ebe7 (diff) | |
download | coreboot-d3060edce222a372e3935ff6c270479815aafbe4.tar.xz |
i945: make PCIe link wait sensible
Waiting for (a & 4) == 3 to become true proves futile
unless you're searching for defective hardware or
neutrino impact.
While I'm not 100% sure that this is the actual intent
(no data-sheets at hand, and the public ones are unhelpful
as usual), it's the likely correct version and it's also
boot-tested on intel/d945gclf.
While at it, replace register number with the name found
in the public datasheet.
Change-Id: I4b87001967a2013e0089806e8cd606d5ee81b0d9
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6575
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/intel/i945/i945.h')
-rw-r--r-- | src/northbridge/intel/i945/i945.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/northbridge/intel/i945/i945.h b/src/northbridge/intel/i945/i945.h index 8573b0c261..fe59ebe9b7 100644 --- a/src/northbridge/intel/i945/i945.h +++ b/src/northbridge/intel/i945/i945.h @@ -83,6 +83,7 @@ /* Device 0:1.0 PCI configuration space (PCI Express) */ #define BCTRL1 0x3e /* 16bit */ +#define PEGSTS 0x214 /* 32bit */ /* Device 0:2.0 PCI configuration space (Graphics Device) */ |