path: root/82802ab.c
diff options
authorCarl-Daniel Hailfinger <>2010-03-17 00:47:56 +0000
committerCarl-Daniel Hailfinger <>2010-03-17 00:47:56 +0000
commit295b3af7671b8de88670ace7d3197f66c08b7f9b (patch)
tree58514c2131ee38849dffed49e54537acd7256d9b /82802ab.c
parent6093969529efb5318dbe66678dc72027aabafa05 (diff)
PCI device BARs of all types had only bits 1:0 cleared while reading the address
That was correct for IO BARs, but failed to mask bit 3:2 for MEM BARs, resulting in odd offsets for prefetchable MEM BARs and for 64-bit capable MEM BARs. Mask the correct number of bits for all types of BARs and add some debug printing about BAR type. Corresponding to flashrom svn r946. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Uwe Hermann <>
Diffstat (limited to '82802ab.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud