summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@silverbackltd.com>2017-11-13 16:59:38 -0700
committerMartin Roth <martinroth@google.com>2017-11-17 20:31:14 +0000
commita800bdb298cb15559c054699f68a374976a18fb6 (patch)
tree5ac28bf7841936afdefe3a594513f2fdc705ab65
parent209ea1459bd36191d7012d458f3f84e99a3d8ed2 (diff)
Move amd/stoneyridge/include/amd_pci_int_defs.h to include/soc/
Move src/soc/amd/stoneyridge/include/amd_pci_int_defs.h to src/soc/amd/stoneyridge/include/soc/. After much discussion, src/soc/amd/stoneyridge/include/soc is probably the best location. It was found that there are other common code that include headers from this folder. BUG=b:62200907 Change-Id: I69e0a54e5d64ae28919871c687a0177786b789c8 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/22460 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
-rw-r--r--src/soc/amd/common/amd_pci_util.c2
-rw-r--r--src/soc/amd/common/amd_pci_util.h2
-rw-r--r--src/soc/amd/stoneyridge/include/soc/amd_pci_int_defs.h (renamed from src/soc/amd/stoneyridge/include/amd_pci_int_defs.h)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/amd_pci_util.c b/src/soc/amd/common/amd_pci_util.c
index ff9374fee0..577b5cb8c4 100644
--- a/src/soc/amd/common/amd_pci_util.c
+++ b/src/soc/amd/common/amd_pci_util.c
@@ -19,7 +19,7 @@
#include <string.h>
#include <amd_pci_util.h>
#include <pc80/i8259.h>
-#include <amd_pci_int_defs.h>
+#include <soc/amd_pci_int_defs.h>
#include <amd_pci_int_types.h>
const struct pirq_struct *pirq_data_ptr;
diff --git a/src/soc/amd/common/amd_pci_util.h b/src/soc/amd/common/amd_pci_util.h
index b8d48ef3e3..6f8ff48e08 100644
--- a/src/soc/amd/common/amd_pci_util.h
+++ b/src/soc/amd/common/amd_pci_util.h
@@ -17,7 +17,7 @@
#define __AMD_PCI_UTIL_H__
#include <stdint.h>
-#include <amd_pci_int_defs.h>
+#include <soc/amd_pci_int_defs.h>
/* FCH index/data registers */
#define PCI_INTR_INDEX 0xc00
diff --git a/src/soc/amd/stoneyridge/include/amd_pci_int_defs.h b/src/soc/amd/stoneyridge/include/soc/amd_pci_int_defs.h
index a8e75f6327..a8e75f6327 100644
--- a/src/soc/amd/stoneyridge/include/amd_pci_int_defs.h
+++ b/src/soc/amd/stoneyridge/include/soc/amd_pci_int_defs.h