aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/include
diff options
context:
space:
mode:
authorChris Ching <chingcodes@google.com>2017-10-19 11:45:30 -0600
committerChris Ching <chingcodes@chromium.org>2017-10-19 21:07:10 +0000
commit6a35fab2723f3b1ca288cd9224d263570cfbe184 (patch)
tree5b07742b8fe915db4d1fddc1af320a670f7ba699 /src/soc/amd/stoneyridge/include
parentc5ecd3e14d17c5634247242afc8cd558c1ae158f (diff)
soc/amd/stoneyridge: Use macros for PCI_DEVFN calls
* Change all calls to PCI_DEVFN to macros * Remove CBB and CDB Kconfig since these are static for stoneyridge BUG=b:62200746 TEST=build Change-Id: I001c4ccd0ad7cf2047870b3618e13642144ddf56 Signed-off-by: Chris Ching <chingcodes@google.com> Reviewed-on: https://review.coreboot.org/22110 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/include')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/pci_devs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/pci_devs.h b/src/soc/amd/stoneyridge/include/soc/pci_devs.h
index caa4765b1c..9b3daecd8d 100644
--- a/src/soc/amd/stoneyridge/include/soc/pci_devs.h
+++ b/src/soc/amd/stoneyridge/include/soc/pci_devs.h
@@ -41,7 +41,7 @@
#define HDA0_DEV 0x1
#define HDA0_FUNC 1
#define HDA0_DEVID 015b3
-#define HDA0_DEVFN PCI_DEVFN(HDA_DEV, HDA_FUNC)
+#define HDA0_DEVFN PCI_DEVFN(HDA0_DEV, HDA0_FUNC)
/* Host Bridge */
#define HOST_DEV 0x2
@@ -155,7 +155,7 @@
#define HDA0_DEV 0x1
#define HDA0_FUNC 1
#define HDA0_DEVID 015b3
-#define HDA0_DEVFN PCI_DEVFN(HDA_DEV, HDA_FUNC)
+#define HDA0_DEVFN PCI_DEVFN(HDA0_DEV, HDA0_FUNC)
/* Host Bridge */
#define HOST_DEV 0x2