coreboot-kgpe-d16/src/soc/amd/stoneyridge
Marshall Dawson 69486cac74 soc/amd/common: Create AcpiMmio functionality from stoneyridge
Move the stoneyridge AcpiMmio code into soc/amd/common.

The SB800 southbridge introduced the MMIO hardware blocks at 0xfed80000
commonly known as AcpiMmio.  Implementations beginning with Mullins
enable decode in PMx04.  Older designs use PMx24 and allow for
configuring the base address.  Future work may support the older version.

Comparing the documentation for AMD's RRGs and BKDGs, it is evident that
the block locations have not been reassigned across products.  In some
cases, address locations are deprecated and new ones consumed, e.g. the
early GPIO blocks were simpler at offset 0x100 and the newer GPIO banks
are now at 0x1500, 0x1600, and 0x1700.

Note:  Do not infer the definitions within the hardware blocks are
consistent across family/model products.

BUG=b:131682806

Change-Id: I083b6339cd29e72289e63c9331a815c46d71600d
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32649
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-05-16 10:03:09 +00:00
..
acpi soc/amd/stoneyridge: Add ACPI D3Cold support for SD Controller 2019-05-15 16:01:48 +00:00
bootblock coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
include/soc soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
acpi.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
BiosCallOuts.c src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
chip.c soc/{amd,intel}/chip: Use local include for chip.h 2019-04-26 16:49:13 +00:00
chip.h
cpu.c
enable_usbdebug.c src/soc: Remove unneeded include <arch/io.h> 2019-05-15 17:58:49 +00:00
finalize.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gpio.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
hda.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
i2c.c src: Drop unused 'include <arch/acpigen.h>' 2019-03-12 07:27:28 +00:00
iommu.c
Kconfig soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
lpc.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
Makefile.inc soc/amd/stoneyridge: Correct PSP SecureOs Kconfig symbol 2019-03-18 09:11:54 +00:00
mca.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
monotonic_timer.c
nb_util.c
northbridge.c soc/amd/stoneyridge: Move acpi_fill_mcfg to northbridge 2019-05-06 10:32:42 +00:00
pmutil.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
ramtop.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
reset.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
romstage.c soc/{amd,intel}/chip: Use local include for chip.h 2019-04-26 16:49:13 +00:00
sata.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
sb_util.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
sm.c soc/amd/stoneyridge: Rename AcpiMmio blocks 2019-05-08 13:48:31 +00:00
smbus.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
smbus_spd.c soc/amd/stoneyridge: Rename AcpiMmio blocks 2019-05-08 13:48:31 +00:00
smi.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
smi_util.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
smihandler.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
southbridge.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00
spi.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
tsc_freq.c arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
uart.c
usb.c soc/amd/common: Create AcpiMmio functionality from stoneyridge 2019-05-16 10:03:09 +00:00