Kyösti Mälkki | 3d0288d | 2016-12-04 15:39:44 +0200 | [diff] [blame^] | 1 | /* |
| 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 | |
| 14 | #include <arch/io.h> |
| 15 | |
| 16 | static void bootblock_southbridge_init(void) |
| 17 | { |
| 18 | /* Set FWH IDs for 2 MB flash part. */ |
| 19 | if (CONFIG_ROM_SIZE == 0x200000) |
| 20 | pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xe8, 0x00001111); |
| 21 | } |