From 07132a4c3202de9f5affe10d90f481b9bd41afc7 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Mon, 30 Oct 2017 14:52:01 -0600 Subject: amd/stoneyridge: Add PSP definitions southbridge and iomap Define the PSP's BAR3 and BAR3 enable bit. Define a default base address for BAR3. Change-Id: I59a0ec59b7c6bbc6468b3096ec8d025832349f44 Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/22250 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/amd/stoneyridge/include/soc/iomap.h | 1 + src/soc/amd/stoneyridge/include/soc/southbridge.h | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/stoneyridge/include/soc/iomap.h b/src/soc/amd/stoneyridge/include/soc/iomap.h index af3d0cbeb8..53eb7120ae 100644 --- a/src/soc/amd/stoneyridge/include/soc/iomap.h +++ b/src/soc/amd/stoneyridge/include/soc/iomap.h @@ -18,6 +18,7 @@ #define __SOC_STONEYRIDGE_IOMAP_H__ /* MMIO Ranges */ +#define PSP_MAILBOX_BAR3_BASE 0xf0a00000 #define SPI_BASE_ADDRESS 0xfec10000 #define IO_APIC2_ADDR 0xfec20000 diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h index 19aaa4cbb8..18ef84c4fc 100644 --- a/src/soc/amd/stoneyridge/include/soc/southbridge.h +++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h @@ -21,9 +21,15 @@ #include #include #include +#include #include #include "chip.h" +/* PSP at D8F0 */ +#define PSP_MAILBOX_BAR PCI_BASE_ADDRESS_4 /* BKDG: "BAR3" */ +#define PSP_BAR_ENABLES 0x48 +#define PSP_MAILBOX_BAR_EN 0x10 + /* Power management index/data registers */ #define BIOSRAM_INDEX 0xcd4 #define BIOSRAM_DATA 0xcd5 -- cgit v1.2.3