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>
This commit is contained in:
parent
f6f4ba9e45
commit
0ad74ace8b
|
@ -13,8 +13,8 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <soc/imc.h>
|
#include <soc/imc.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
|
|
||||||
#define DIMMS_PER_CHANNEL 2
|
#define DIMMS_PER_CHANNEL 2
|
||||||
#if DIMMS_PER_CHANNEL > MAX_DIMMS_PER_CH
|
#if DIMMS_PER_CHANNEL > MAX_DIMMS_PER_CH
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
|
|
||||||
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
|
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <amdblocks/amd_pci_util.h>
|
#include <amdblocks/amd_pci_util.h>
|
||||||
|
|
||||||
/***********************************************************
|
/***********************************************************
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
|
|
||||||
#define DIMMS_PER_CHANNEL 1
|
#define DIMMS_PER_CHANNEL 1
|
||||||
#if DIMMS_PER_CHANNEL > MAX_DIMMS_PER_CH
|
#if DIMMS_PER_CHANNEL > MAX_DIMMS_PER_CH
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <amdblocks/amd_pci_util.h>
|
#include <amdblocks/amd_pci_util.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <variant/gpio.h>
|
#include <variant/gpio.h>
|
||||||
|
|
||||||
static const PCIe_PORT_DESCRIPTOR PortList[] = {
|
static const PCIe_PORT_DESCRIPTOR PortList[] = {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <soc/smi.h>
|
#include <soc/smi.h>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <soc/smi.h>
|
#include <soc/smi.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
|
|
||||||
const GPIO_CONTROL *get_gpio_table(void);
|
const GPIO_CONTROL *get_gpio_table(void);
|
||||||
const struct sci_source *get_gpe_table(size_t *num);
|
const struct sci_source *get_gpe_table(size_t *num);
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <variant/gpio.h>
|
#include <variant/gpio.h>
|
||||||
|
|
||||||
static const PCIe_PORT_DESCRIPTOR PortList[] = {
|
static const PCIe_PORT_DESCRIPTOR PortList[] = {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <soc/smi.h>
|
#include <soc/smi.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "agesawrapper.h"
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <arch/early_variables.h>
|
#include <arch/early_variables.h>
|
||||||
#include <cbfs.h>
|
#include <cbfs.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
|
|
||||||
static void agesawrapper_post_device(void *unused)
|
static void agesawrapper_post_device(void *unused)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef __CALLOUTS_AMD_AGESA_H__
|
#ifndef __CALLOUTS_AMD_AGESA_H__
|
||||||
#define __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_START_ADDRESS 0x010000000
|
||||||
#define BIOS_HEAP_SIZE 0x30000
|
#define BIOS_HEAP_SIZE 0x30000
|
|
@ -14,7 +14,7 @@
|
||||||
#ifndef __AGESAWRAPPER_CALL_H__
|
#ifndef __AGESAWRAPPER_CALL_H__
|
||||||
#define __AGESAWRAPPER_CALL_H__
|
#define __AGESAWRAPPER_CALL_H__
|
||||||
|
|
||||||
#include "agesawrapper.h"
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef __DIMMSPD_H__
|
#ifndef __DIMMSPD_H__
|
||||||
#define __DIMMSPD_H__
|
#define __DIMMSPD_H__
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef __AMD_PSP_H__
|
#ifndef __AMD_PSP_H__
|
||||||
#define __AMD_PSP_H__
|
#define __AMD_PSP_H__
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <compiler.h>
|
#include <compiler.h>
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
#include <cpu/x86/mp.h>
|
#include <cpu/x86/mp.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <amdlib.h>
|
#include <amdlib.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include "agesawrapper.h"
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
#include <reset.h>
|
#include <reset.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "agesawrapper.h"
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <amdlib.h>
|
#include <amdlib.h>
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,12 @@
|
||||||
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <BiosCallOuts.h>
|
#include <amdblocks/BiosCallOuts.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <amdlib.h>
|
#include <amdlib.h>
|
||||||
#include <amdblocks/dimm_spd.h>
|
#include <amdblocks/dimm_spd.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include <cpu/amd/amdfam15.h>
|
#include <cpu/amd/amdfam15.h>
|
||||||
#include <smp/node.h>
|
#include <smp/node.h>
|
||||||
#include <bootblock_common.h>
|
#include <bootblock_common.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/northbridge.h>
|
#include <soc/northbridge.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
#include <soc/northbridge.h>
|
#include <soc/northbridge.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <amdblocks/psp.h>
|
#include <amdblocks/psp.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
|
|
||||||
struct device_operations cpu_bus_ops = {
|
struct device_operations cpu_bus_ops = {
|
||||||
.read_resources = DEVICE_NOOP,
|
.read_resources = DEVICE_NOOP,
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#define __SIMPLE_DEVICE__
|
#define __SIMPLE_DEVICE__
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <soc/imc.h>
|
#include <soc/imc.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef __AMD_STONEY_FCHEC__
|
#ifndef __AMD_STONEY_FCHEC__
|
||||||
#define __AMD_STONEY_FCHEC__
|
#define __AMD_STONEY_FCHEC__
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <soc/imc.h>
|
#include <soc/imc.h>
|
||||||
|
|
||||||
void agesawrapper_fchecfancontrolservice(void);
|
void agesawrapper_fchecfancontrolservice(void);
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
#include <soc/northbridge.h>
|
#include <soc/northbridge.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <program_loading.h>
|
#include <program_loading.h>
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <agesawrapper_call.h>
|
#include <amdblocks/agesawrapper_call.h>
|
||||||
#include <soc/northbridge.h>
|
#include <soc/northbridge.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <amdblocks/psp.h>
|
#include <amdblocks/psp.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <agesawrapper.h>
|
#include <amdblocks/agesawrapper.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
// TODO This list needs to be pruned of anything that is not API
|
// TODO This list needs to be pruned of anything that is not API
|
||||||
#include "AGESA.h"
|
#include "AGESA.h"
|
||||||
#include "agesawrapper.h"
|
#include <block/include/amdblocks/agesawrapper.h>
|
||||||
#include "AcpiLib.h"
|
#include "AcpiLib.h"
|
||||||
#include "FchCommonCfg.h"
|
#include "FchCommonCfg.h"
|
||||||
#include "Fch.h"
|
#include "Fch.h"
|
||||||
|
|
Loading…
Reference in New Issue