diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2019-05-21 18:45:07 -0600 |
---|---|---|
committer | Marshall Dawson <marshalldawson3rd@gmail.com> | 2019-06-11 14:39:05 +0000 |
commit | 2395917adfd267a737beb38285a8e689b27235aa (patch) | |
tree | c6c3e26bef682b51f9e336bead30903d0a45b873 /src/cpu | |
parent | 1cf5ea5f1db6f780cd6da052c615a920c7201462 (diff) |
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>
Diffstat (limited to 'src/cpu')
0 files changed, 0 insertions, 0 deletions