blob: 334eb62ade40a3c9257aee5e0520076f825f9fa8 [file] [log] [blame]
Angel Pons182dbde2020-04-02 23:49:05 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +02003
Kyösti Mälkkide640782019-12-03 07:30:26 +02004#include <arch/bootblock.h>
Kyösti Mälkkif1b58b72019-03-01 13:43:02 +02005#include <device/pci_ops.h>
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +02006
Kyösti Mälkki0377a3692019-01-06 10:44:49 +02007void bootblock_early_southbridge_init(void)
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +02008{
9 /* Set FWH IDs for 2 MB flash part. */
10 if (CONFIG_ROM_SIZE == 0x200000)
11 pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xe8, 0x00001111);
12}