| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <arch/bootblock.h> |
| 4 | #include <device/pci_ops.h> |
| 5 | |
| 6 | #include "i82801dx.h" |
| 7 | |
| 8 | void bootblock_early_southbridge_init(void) |
| 9 | { |
| 10 | /* Set FWH IDs for 2 MB flash part. */ |
| 11 | if (CONFIG_ROM_SIZE == 0x200000) |
| 12 | pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xe8, 0x00001111); |
| 13 | |
| 14 | |
| 15 | /* Setup decode ports and LPC I/F enables. */ |
| 16 | i82801dx_early_init(); |
| 17 | i82801dx_lpc_setup(); |
| 18 | } |