soc/amd/common: Fix indirect includes

Builds that would otherwise be reproducible are sometimes
broken due to added #include combined with __LINE__ used
in assert() statement.

Change-Id: If4a02393799a34bbae4f6e506052774526c1a969
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37266
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2019-11-27 07:45:27 +02:00 committed by Patrick Georgi
parent 9f5c895ec7
commit c9eae795d1
5 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <soc/iomap.h>
#include <amdblocks/acpimmio_map.h>
/* Grunt specific I2S machine driver */ /* Grunt specific I2S machine driver */
Device (I2S) Device (I2S)

View File

@ -20,6 +20,7 @@
#include <console/console.h> #include <console/console.h>
#include <gpio.h> #include <gpio.h>
#include <amdblocks/acpimmio.h> #include <amdblocks/acpimmio.h>
#include <amdblocks/acpimmio_map.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <soc/smi.h> #include <soc/smi.h>
#include <assert.h> #include <assert.h>

View File

@ -18,6 +18,7 @@
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <amdblocks/acpimmio_map.h>
struct soc_amd_gpio { struct soc_amd_gpio {
uint8_t gpio; uint8_t gpio;

View File

@ -15,6 +15,7 @@
#include <soc/gpio.h> #include <soc/gpio.h>
#include <soc/iomap.h> #include <soc/iomap.h>
#include <amdblocks/acpimmio_map.h>
Device (AAHB) Device (AAHB)
{ {

View File

@ -15,6 +15,7 @@
#include <soc/gpio.h> #include <soc/gpio.h>
#include <soc/iomap.h> #include <soc/iomap.h>
#include <amdblocks/acpimmio_map.h>
Device (AAHB) Device (AAHB)
{ {