aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)