blob: c22eb3e3f64151c1356636c111ca1964171ba9a9 [file] [log] [blame]
Kyösti Mälkki7b73e8522022-11-08 04:43:41 +00001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <arch/bootblock.h>
4#include <device/pci_ops.h>
5
6void bootblock_early_southbridge_init(void)
7{
8 /* Set FWH IDs for 2 MB flash part. */
9 if (CONFIG_ROM_SIZE == 0x200000)
10 pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xe8, 0x00001111);
Kyösti Mälkki8e679f72022-11-14 10:05:06 +020011
12
13 /* Setup decode ports and LPC I/F enables. */
14 i82801dx_early_init();
15 i82801dx_lpc_setup();
Kyösti Mälkki7b73e8522022-11-08 04:43:41 +000016}