blob: 2f9f7da91642bbbfc965df3f8d606e2d603896b6 [file] [log] [blame]
Martin Roth5474eb12018-05-26 19:22:33 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
Kyösti Mälkkide640782019-12-03 07:30:26 +020014#include <arch/bootblock.h>
Kyösti Mälkkif1b58b72019-03-01 13:43:02 +020015#include <device/pci_ops.h>
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010016
Arthur Heymans28822532019-10-10 15:50:04 +020017void bootblock_early_northbridge_init(void)
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010018{
Kyösti Mälkki503d3242019-03-05 07:54:28 +020019 pci_io_write_config32(PCI_DEV(0xff, 0x00, 1), 0x50, CONFIG_MMCONF_BASE_ADDRESS | 1);
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010020 pci_io_write_config32(PCI_DEV(0xff, 0x00, 1), 0x54, 0);
21}