summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-14 11:07:39 +0300
committerMartin Roth <martinroth@google.com>2019-07-21 18:57:05 +0000
commit6046eb405a4f1cbb4df1ed0d23276f333bc0998b (patch)
treeea3e78544c8f8f564d18d36bcd8c9be2418c9779 /src/soc/intel/common
parente1559eb84f26ab2476512bf999282ccf94c7176c (diff)
soc/intel: Change file to __SIMPLE_DEVICE__
All the PCI accesses in the file are now accessed without SA_DEV_ROOT expanding to function call. Change-Id: I30d331e9c18a486ea971e8397a6e20a0f82d5f84 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34410 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/systemagent/systemagent_early.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/systemagent/systemagent_early.c b/src/soc/intel/common/block/systemagent/systemagent_early.c
index c12c64ab53..8c89c07e26 100644
--- a/src/soc/intel/common/block/systemagent/systemagent_early.c
+++ b/src/soc/intel/common/block/systemagent/systemagent_early.c
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#define __SIMPLE_DEVICE__
+
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <device/device.h>
@@ -24,7 +26,6 @@
#include "systemagent_def.h"
-#if ENV_BOOTBLOCK
void bootblock_systemagent_early_init(void)
{
uint32_t reg;
@@ -63,7 +64,6 @@ void bootblock_systemagent_early_init(void)
*/
pci_write_config32(SA_DEV_ROOT, TSEG, 0);
}
-#endif
void sa_set_pci_bar(const struct sa_mmio_descriptor *fixed_set_resources,
size_t count)