blob: e6219b512eb0db82c2065633012c6cb2c1768bd4 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Martin Roth5474eb12018-05-26 19:22:33 -06003
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +02004#define __SIMPLE_DEVICE__
5
6#include <types.h>
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +02007#include <device/device.h>
Kyösti Mälkkif1b58b72019-03-01 13:43:02 +02008#include <device/pci_ops.h>
Angel Pons95de2312020-02-17 13:08:53 +01009#include "ironlake.h"
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +020010
Kyösti Mälkkif091f4d2019-08-14 03:49:21 +030011#include <cpu/intel/smm_reloc.h>
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +020012
13void northbridge_write_smram(u8 smram)
14{
Kyösti Mälkkid45114f2013-07-26 08:53:59 +030015 pci_write_config8(PCI_DEV(QUICKPATH_BUS, 0, 1), QPD0F1_SMRAM, smram);
Vladimir Serbinenko0f9aa1c2015-05-29 16:52:50 +020016}