blob: a5e48e5ded4a756d669a4e666168f3b8951bb09d [file] [log] [blame]
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +02001/*
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älkki0377a3692019-01-06 10:44:49 +020014#include <cpu/intel/car/bootblock.h>
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +020015#include <arch/io.h>
16
Kyösti Mälkki0377a3692019-01-06 10:44:49 +020017void bootblock_early_southbridge_init(void)
Kyösti Mälkki3d0288d2016-12-04 15:39:44 +020018{
19 /* Set FWH IDs for 2 MB flash part. */
20 if (CONFIG_ROM_SIZE == 0x200000)
21 pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xe8, 0x00001111);
22}