summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-06-19 23:22:26 -0700
committerFurquan Shaikh <furquan@google.com>2016-06-21 20:41:06 +0200
commit49f7dd9982dad6a2660efb37277a9a1c88d1dcbd (patch)
tree436bfec46b5ce50c78ee37f935281f8dc7fdc07d /payloads
parent0be3da53c6eb1b4c05a51151c8059fbb4d4024ac (diff)
downloadcoreboot-49f7dd9982dad6a2660efb37277a9a1c88d1dcbd.tar.xz
libpayload/pci: Correct MASK macro names
BUG=chrome-os-partner:54563 Change-Id: I8ef1c595205fe46dd64357051eeb232e2bbbebc1 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15270 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/include/pci/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h
index 47d62bc3dd..6ce4dde672 100644
--- a/payloads/libpayload/include/pci/pci.h
+++ b/payloads/libpayload/include/pci/pci.h
@@ -60,8 +60,8 @@
#define PCI_BASE_ADDRESS_SPACE 1 // mask
#define PCI_BASE_ADDRESS_SPACE_IO 1
#define PCI_BASE_ADDRESS_SPACE_MEM 0
-#define PCI_BASE_ADDRESS_IO_MASK ~0xf
-#define PCI_BASE_ADDRESS_MEM_MASK ~0x3
+#define PCI_BASE_ADDRESS_MEM_MASK ~0xf
+#define PCI_BASE_ADDRESS_IO_MASK ~0x3
#define PCI_ROM_ADDRESS 0x30
#define PCI_ROM_ADDRESS1 0x38 // on bridges