summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@silverbackltd.com>2017-12-08 16:53:29 -0700
committerMartin Roth <martinroth@google.com>2017-12-12 16:24:38 +0000
commit0ad74ace8b908cd1c4b7db559b693001ef94ebd4 (patch)
treefef4f2eadc3893b5b8b87bace930fc1aa02c40e9 /src/soc/amd
parentf6f4ba9e4579e2c6ce5bda375c0f3b7cd7595bd7 (diff)
downloadcoreboot-0ad74ace8b908cd1c4b7db559b693001ef94ebd4.tar.xz
soc/amd/common: Move Agesa related headers
Move AGESA related headers in soc/amd/common to soc/amd/common/block/include/amdblocks. BUG=b:69262110 TEST=Build with no error gardenia and kahlee (no code change, headers moved). Change-Id: I5d3064625ddf8caaf370aabaf93165c6817f1ca0 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/22772 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/agesawrapper.c4
-rw-r--r--src/soc/amd/common/amd_late_init.c4
-rw-r--r--src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h (renamed from src/soc/amd/common/BiosCallOuts.h)2
-rw-r--r--src/soc/amd/common/block/include/amdblocks/agesawrapper.h (renamed from src/soc/amd/common/agesawrapper.h)0
-rw-r--r--src/soc/amd/common/block/include/amdblocks/agesawrapper_call.h (renamed from src/soc/amd/common/agesawrapper_call.h)2
-rw-r--r--src/soc/amd/common/block/include/amdblocks/dimm_spd.h2
-rw-r--r--src/soc/amd/common/block/include/amdblocks/psp.h2
-rw-r--r--src/soc/amd/common/def_callouts.c6
-rw-r--r--src/soc/amd/common/heapmanager.c4
-rw-r--r--src/soc/amd/stoneyridge/BiosCallOuts.c4
-rw-r--r--src/soc/amd/stoneyridge/bootblock/bootblock.c4
-rw-r--r--src/soc/amd/stoneyridge/chip.c4
-rw-r--r--src/soc/amd/stoneyridge/imc.c2
-rw-r--r--src/soc/amd/stoneyridge/include/fchec.h2
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c4
-rw-r--r--src/soc/amd/stoneyridge/romstage.c4
-rw-r--r--src/soc/amd/stoneyridge/smbus_spd.c2
17 files changed, 26 insertions, 26 deletions
diff --git a/src/soc/amd/common/agesawrapper.c b/src/soc/amd/common/agesawrapper.c
index 2164a03843..b1f03cb178 100644
--- a/src/soc/amd/common/agesawrapper.c
+++ b/src/soc/amd/common/agesawrapper.c
@@ -13,13 +13,13 @@
* GNU General Public License for more details.
*/
-#include "agesawrapper.h"
+#include <amdblocks/agesawrapper.h>
#include <arch/early_variables.h>
#include <cbfs.h>
#include <cbmem.h>
#include <delay.h>
#include <cpu/x86/mtrr.h>
-#include <BiosCallOuts.h>
+#include <amdblocks/BiosCallOuts.h>
#include <string.h>
#include <timestamp.h>
diff --git a/src/soc/amd/common/amd_late_init.c b/src/soc/amd/common/amd_late_init.c
index 3aee23ca7e..65667b9bdc 100644
--- a/src/soc/amd/common/amd_late_init.c
+++ b/src/soc/amd/common/amd_late_init.c
@@ -20,8 +20,8 @@
#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <agesawrapper.h>
-#include <agesawrapper_call.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
static void agesawrapper_post_device(void *unused)
{
diff --git a/src/soc/amd/common/BiosCallOuts.h b/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
index 5237d52b6a..2302889e6b 100644
--- a/src/soc/amd/common/BiosCallOuts.h
+++ b/src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
@@ -17,7 +17,7 @@
#ifndef __CALLOUTS_AMD_AGESA_H__
#define __CALLOUTS_AMD_AGESA_H__
-#include "agesawrapper.h"
+#include <amdblocks/agesawrapper.h>
#define BIOS_HEAP_START_ADDRESS 0x010000000
#define BIOS_HEAP_SIZE 0x30000
diff --git a/src/soc/amd/common/agesawrapper.h b/src/soc/amd/common/block/include/amdblocks/agesawrapper.h
index 08ac5968ca..08ac5968ca 100644
--- a/src/soc/amd/common/agesawrapper.h
+++ b/src/soc/amd/common/block/include/amdblocks/agesawrapper.h
diff --git a/src/soc/amd/common/agesawrapper_call.h b/src/soc/amd/common/block/include/amdblocks/agesawrapper_call.h
index 01e2620961..4854bee80d 100644
--- a/src/soc/amd/common/agesawrapper_call.h
+++ b/src/soc/amd/common/block/include/amdblocks/agesawrapper_call.h
@@ -14,7 +14,7 @@
#ifndef __AGESAWRAPPER_CALL_H__
#define __AGESAWRAPPER_CALL_H__
-#include "agesawrapper.h"
+#include <amdblocks/agesawrapper.h>
#include <stdint.h>
#include <console/console.h>
diff --git a/src/soc/amd/common/block/include/amdblocks/dimm_spd.h b/src/soc/amd/common/block/include/amdblocks/dimm_spd.h
index e29edc59b7..60107c9ba4 100644
--- a/src/soc/amd/common/block/include/amdblocks/dimm_spd.h
+++ b/src/soc/amd/common/block/include/amdblocks/dimm_spd.h
@@ -16,7 +16,7 @@
#ifndef __DIMMSPD_H__
#define __DIMMSPD_H__
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/src/soc/amd/common/block/include/amdblocks/psp.h b/src/soc/amd/common/block/include/amdblocks/psp.h
index 57ba64945b..4c9878a53e 100644
--- a/src/soc/amd/common/block/include/amdblocks/psp.h
+++ b/src/soc/amd/common/block/include/amdblocks/psp.h
@@ -16,7 +16,7 @@
#ifndef __AMD_PSP_H__
#define __AMD_PSP_H__
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <soc/pci_devs.h>
#include <stdint.h>
#include <compiler.h>
diff --git a/src/soc/amd/common/def_callouts.c b/src/soc/amd/common/def_callouts.c
index cc7f55675f..c05d4de8cc 100644
--- a/src/soc/amd/common/def_callouts.c
+++ b/src/soc/amd/common/def_callouts.c
@@ -19,9 +19,9 @@
#include <cpu/x86/mp.h>
#include <timer.h>
#include <amdlib.h>
-#include <BiosCallOuts.h>
-#include "agesawrapper.h"
-#include <agesawrapper_call.h>
+#include <amdblocks/BiosCallOuts.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
#include <reset.h>
#include <soc/southbridge.h>
diff --git a/src/soc/amd/common/heapmanager.c b/src/soc/amd/common/heapmanager.c
index b99151487d..bda521f07f 100644
--- a/src/soc/amd/common/heapmanager.c
+++ b/src/soc/amd/common/heapmanager.c
@@ -12,10 +12,10 @@
*/
-#include "agesawrapper.h"
+#include <amdblocks/agesawrapper.h>
#include <amdlib.h>
#include <arch/acpi.h>
-#include <BiosCallOuts.h>
+#include <amdblocks/BiosCallOuts.h>
#include <cbmem.h>
#include <string.h>
diff --git a/src/soc/amd/stoneyridge/BiosCallOuts.c b/src/soc/amd/stoneyridge/BiosCallOuts.c
index 87eccaa345..f6ac187353 100644
--- a/src/soc/amd/stoneyridge/BiosCallOuts.c
+++ b/src/soc/amd/stoneyridge/BiosCallOuts.c
@@ -17,12 +17,12 @@
#include <device/device.h>
#include <device/pci_def.h>
-#include <BiosCallOuts.h>
+#include <amdblocks/BiosCallOuts.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
#include <stdlib.h>
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <amdlib.h>
#include <amdblocks/dimm_spd.h>
#include "chip.h"
diff --git a/src/soc/amd/stoneyridge/bootblock/bootblock.c b/src/soc/amd/stoneyridge/bootblock/bootblock.c
index abe06fbd24..030c990c4b 100644
--- a/src/soc/amd/stoneyridge/bootblock/bootblock.c
+++ b/src/soc/amd/stoneyridge/bootblock/bootblock.c
@@ -22,8 +22,8 @@
#include <cpu/amd/amdfam15.h>
#include <smp/node.h>
#include <bootblock_common.h>
-#include <agesawrapper.h>
-#include <agesawrapper_call.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
#include <soc/pci_devs.h>
#include <soc/northbridge.h>
#include <soc/southbridge.h>
diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c
index 8e4ab2ee88..8d6a8e46fe 100644
--- a/src/soc/amd/stoneyridge/chip.c
+++ b/src/soc/amd/stoneyridge/chip.c
@@ -24,8 +24,8 @@
#include <soc/northbridge.h>
#include <soc/southbridge.h>
#include <amdblocks/psp.h>
-#include <agesawrapper.h>
-#include <agesawrapper_call.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
diff --git a/src/soc/amd/stoneyridge/imc.c b/src/soc/amd/stoneyridge/imc.c
index f7eed205d0..5d883d99ba 100644
--- a/src/soc/amd/stoneyridge/imc.c
+++ b/src/soc/amd/stoneyridge/imc.c
@@ -15,7 +15,7 @@
#define __SIMPLE_DEVICE__
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <soc/imc.h>
#include <arch/io.h>
#include <device/device.h>
diff --git a/src/soc/amd/stoneyridge/include/fchec.h b/src/soc/amd/stoneyridge/include/fchec.h
index e5e9cfd888..80125ecaad 100644
--- a/src/soc/amd/stoneyridge/include/fchec.h
+++ b/src/soc/amd/stoneyridge/include/fchec.h
@@ -16,7 +16,7 @@
#ifndef __AMD_STONEY_FCHEC__
#define __AMD_STONEY_FCHEC__
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <soc/imc.h>
void agesawrapper_fchecfancontrolservice(void);
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index 3eb8e8dfe1..27b5388d2a 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -28,8 +28,8 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <agesawrapper.h>
-#include <agesawrapper_call.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
#include <soc/northbridge.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
diff --git a/src/soc/amd/stoneyridge/romstage.c b/src/soc/amd/stoneyridge/romstage.c
index 32dee5ab25..7c738adc95 100644
--- a/src/soc/amd/stoneyridge/romstage.c
+++ b/src/soc/amd/stoneyridge/romstage.c
@@ -24,8 +24,8 @@
#include <device/device.h>
#include <chip.h>
#include <program_loading.h>
-#include <agesawrapper.h>
-#include <agesawrapper_call.h>
+#include <amdblocks/agesawrapper.h>
+#include <amdblocks/agesawrapper_call.h>
#include <soc/northbridge.h>
#include <soc/southbridge.h>
#include <amdblocks/psp.h>
diff --git a/src/soc/amd/stoneyridge/smbus_spd.c b/src/soc/amd/stoneyridge/smbus_spd.c
index acd907e55b..60274005ba 100644
--- a/src/soc/amd/stoneyridge/smbus_spd.c
+++ b/src/soc/amd/stoneyridge/smbus_spd.c
@@ -13,7 +13,7 @@
* GNU General Public License for more details.
*/
-#include <agesawrapper.h>
+#include <amdblocks/agesawrapper.h>
#include <device/pci_def.h>
#include <device/device.h>
#include <soc/southbridge.h>