coreboot-kgpe-d16/src/soc/amd/stoneyridge
Marshall Dawson 2395917adf soc/amd/common: Add errors for invalid AcpiMmio access
Add a method for the soc/amd/<product> to indicate what AcpiMmio
ranges are supported.  Induce a build error if soc or mainboard
code is added which attempts to use an unsupported block.

This patch attempts to dissuade accessing unsupported blocks without
requiring the complexity of structures or reinitializing at the
beginning of a new stage.

TEST=boot grunt, force build errors by removing blocks in iomap.h
BUG=b:131682806

Change-Id: I2121df108fd3caf07e5588bc3201bcdd8dcaaa00
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32934
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
2019-06-11 14:39:05 +00:00
..
acpi soc/amd/stoneyridge: Add ALink-AHB Bridge to iomap.h 2019-06-06 19:25:34 +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: Add errors for invalid AcpiMmio access 2019-06-11 14:39:05 +00:00
acpi.c soc/amd/stoneyridge: Relocate MMIO access of ACPI registers 2019-06-06 18:51:03 +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 soc/amd/stoneyridge: Move I2C bus clear out of gpio.c 2019-05-16 10:05:26 +00:00
cpu.c soc/amd/stoneyridge: Fix get_cpu_count() 2018-10-31 22:00:03 +00:00
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/stoneyridge: Move GPIO support to common 2019-06-06 17:57:40 +00:00
i2c.c soc/amd/stoneyridge: Move GPIO support to common 2019-06-06 17:57:40 +00:00
Kconfig soc/amd/stoneyridge: Move sata to common 2019-06-06 19:24:59 +00:00
Makefile.inc soc/amd/stoneyridge: Remove sb_util.c 2019-06-06 19:20:38 +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/stoneyridge: Relocate MMIO access of ACPI registers 2019-06-06 18:51:03 +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 soc/amd/stoneyridge: Move sata to common 2019-06-06 19:24:59 +00:00
sm.c soc/amd/stoneyridge: Rename AcpiMmio blocks 2019-05-08 13:48:31 +00:00
smbus.c src/amd/stoneyridge: Move alink source to common 2019-06-06 19:25:48 +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/stoneyridge: Remove sb_util.c 2019-06-06 19:20:38 +00:00
southbridge.c soc/amd/stoneyridge: Remove sb_util.c 2019-06-06 19:20:38 +00:00
spi.c soc/amd/stoneyridge: Move LPC support to common 2019-06-06 18:50:28 +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