Kyösti Mälkki | 7b73e852 | 2022-11-08 04:43:41 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <arch/bootblock.h> |
| 4 | #include <device/pci_ops.h> |
| 5 | |
| 6 | void 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älkki | 8e679f7 | 2022-11-14 10:05:06 +0200 | [diff] [blame^] | 11 | |
| 12 | |
| 13 | /* Setup decode ports and LPC I/F enables. */ |
| 14 | i82801dx_early_init(); |
| 15 | i82801dx_lpc_setup(); |
Kyösti Mälkki | 7b73e852 | 2022-11-08 04:43:41 +0000 | [diff] [blame] | 16 | } |