Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 3 | * |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 17 | /* __PRE_RAM__ means: use "unsigned" for device, not a struct. */ |
Stefan Reinauer | 5e32823 | 2010-03-29 19:19:16 +0000 | [diff] [blame] | 18 | |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 19 | #include <stdint.h> |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 20 | #include <arch/io.h> |
Elyes HAOUAS | d07048a | 2019-04-21 20:17:11 +0200 | [diff] [blame^] | 21 | #include <cf9_reset.h> |
Kyösti Mälkki | 3855c01 | 2019-03-03 08:45:19 +0200 | [diff] [blame] | 22 | #include <device/pnp_ops.h> |
Kyösti Mälkki | f1b58b7 | 2019-03-01 13:43:02 +0200 | [diff] [blame] | 23 | #include <device/pci_ops.h> |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 24 | #include <device/pci_def.h> |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 25 | #include <cpu/x86/lapic.h> |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 26 | #include <pc80/mc146818rtc.h> |
Stefan Reinauer | 8a7d34b | 2010-02-22 09:15:13 +0000 | [diff] [blame] | 27 | #include <console/console.h> |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 28 | #include <cpu/x86/bist.h> |
Kyösti Mälkki | 15fa992 | 2016-06-17 10:00:28 +0300 | [diff] [blame] | 29 | #include <cpu/intel/romstage.h> |
Patrick Georgi | 546953c | 2014-11-29 10:38:17 +0100 | [diff] [blame] | 30 | #include <halt.h> |
Edward O'Callaghan | 77757c2 | 2015-01-04 21:33:39 +1100 | [diff] [blame] | 31 | #include <northbridge/intel/i945/i945.h> |
| 32 | #include <northbridge/intel/i945/raminit.h> |
| 33 | #include <southbridge/intel/i82801gx/i82801gx.h> |
Patrick Rudolph | 425e75a | 2019-03-24 15:06:17 +0100 | [diff] [blame] | 34 | #include <southbridge/intel/common/pmclib.h> |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame] | 35 | #include "option_table.h" |
Patrick Georgi | d083595 | 2010-10-05 09:07:10 +0000 | [diff] [blame] | 36 | |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 37 | static void ich7_enable_lpc(void) |
| 38 | { |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame] | 39 | int lpt_en = 0; |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 40 | if (read_option(lpt, 0) != 0) |
| 41 | lpt_en = LPT_LPC_EN; /* enable LPT */ |
| 42 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 43 | /* Enable Serial IRQ */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 44 | pci_write_config8(PCI_DEV(0, 0x1f, 0), SERIRQ_CNTL, 0xd0); |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 45 | /* decode range */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 46 | pci_write_config16(PCI_DEV(0, 0x1f, 0), LPC_IO_DEC, 0x0007); |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 47 | /* decode range */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 48 | pci_write_config16(PCI_DEV(0, 0x1f, 0), LPC_EN, CNF2_LPC_EN | CNF1_LPC_EN |
| 49 | | MC_LPC_EN | KBC_LPC_EN | GAMEH_LPC_EN | GAMEL_LPC_EN |
| 50 | | FDD_LPC_EN | lpt_en | COMB_LPC_EN | COMA_LPC_EN); |
| 51 | /* COM3 and COM4 decode? */ |
| 52 | pci_write_config32(PCI_DEV(0, 0x1f, 0), GEN1_DEC, 0x1c02e1); |
| 53 | /* ??decode?? */ |
| 54 | pci_write_config32(PCI_DEV(0, 0x1f, 0), GEN2_DEC, 0x00fc0601); |
| 55 | /* EC decode? */ |
| 56 | pci_write_config32(PCI_DEV(0, 0x1f, 0), GEN3_DEC, 0x00040069); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 57 | } |
| 58 | |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 59 | /* This box has two superios, so enabling serial becomes slightly excessive. |
| 60 | * We disable a lot of stuff to make sure that there are no conflicts between |
| 61 | * the two. Also set up the GPIOs from the beginning. This is the "no schematic |
| 62 | * but safe anyways" method. |
| 63 | */ |
Antonello Dettori | 63028fd | 2016-11-08 18:44:46 +0100 | [diff] [blame] | 64 | static inline void pnp_enter_ext_func_mode(pnp_devfn_t dev) |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 65 | { |
| 66 | unsigned int port = dev >> 8; |
| 67 | outb(0x55, port); |
| 68 | } |
| 69 | |
Antonello Dettori | 63028fd | 2016-11-08 18:44:46 +0100 | [diff] [blame] | 70 | static void pnp_exit_ext_func_mode(pnp_devfn_t dev) |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 71 | { |
| 72 | unsigned int port = dev >> 8; |
| 73 | outb(0xaa, port); |
| 74 | } |
| 75 | |
Antonello Dettori | 63028fd | 2016-11-08 18:44:46 +0100 | [diff] [blame] | 76 | static void pnp_write_register(pnp_devfn_t dev, int reg, int val) |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 77 | { |
| 78 | unsigned int port = dev >> 8; |
| 79 | outb(reg, port); |
| 80 | outb(val, port+1); |
| 81 | } |
| 82 | |
| 83 | static void early_superio_config(void) |
| 84 | { |
Antonello Dettori | 63028fd | 2016-11-08 18:44:46 +0100 | [diff] [blame] | 85 | pnp_devfn_t dev; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 86 | |
Elyes HAOUAS | a5aad2e | 2016-09-19 09:47:16 -0600 | [diff] [blame] | 87 | dev = PNP_DEV(0x2e, 0x00); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 88 | |
| 89 | pnp_enter_ext_func_mode(dev); |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 90 | pnp_write_register(dev, 0x01, 0x94); /* Extended Parport modes */ |
| 91 | pnp_write_register(dev, 0x02, 0x88); /* UART power on */ |
| 92 | pnp_write_register(dev, 0x03, 0x72); /* Floppy */ |
| 93 | pnp_write_register(dev, 0x04, 0x01); /* EPP + SPP */ |
| 94 | pnp_write_register(dev, 0x14, 0x03); /* Floppy */ |
| 95 | pnp_write_register(dev, 0x20, (0x3f0 >> 2)); /* Floppy */ |
| 96 | pnp_write_register(dev, 0x23, (0x378 >> 2)); /* PP base */ |
| 97 | pnp_write_register(dev, 0x24, (0x3f8 >> 2)); /* UART1 base */ |
| 98 | pnp_write_register(dev, 0x25, (0x2f8 >> 2)); /* UART2 base */ |
| 99 | pnp_write_register(dev, 0x26, (2 << 4) | 0); /* FDC + PP DMA */ |
| 100 | pnp_write_register(dev, 0x27, (6 << 4) | 7); /* FDC + PP DMA */ |
| 101 | pnp_write_register(dev, 0x28, (4 << 4) | 3); /* UART1,2 IRQ */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 102 | /* These are the SMI status registers in the SIO: */ |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 103 | pnp_write_register(dev, 0x30, (0x600 >> 4)); /* Runtime Register Block Base */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 104 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 105 | pnp_write_register(dev, 0x31, 0x00); /* GPIO1 DIR */ |
| 106 | pnp_write_register(dev, 0x32, 0x00); /* GPIO1 POL */ |
| 107 | pnp_write_register(dev, 0x33, 0x40); /* GPIO2 DIR */ |
| 108 | pnp_write_register(dev, 0x34, 0x00); /* GPIO2 POL */ |
| 109 | pnp_write_register(dev, 0x35, 0xff); /* GPIO3 DIR */ |
| 110 | pnp_write_register(dev, 0x36, 0x00); /* GPIO3 POL */ |
| 111 | pnp_write_register(dev, 0x37, 0xe0); /* GPIO4 DIR */ |
| 112 | pnp_write_register(dev, 0x38, 0x00); /* GPIO4 POL */ |
| 113 | pnp_write_register(dev, 0x39, 0x80); /* GPIO4 POL */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 114 | |
| 115 | pnp_exit_ext_func_mode(dev); |
| 116 | } |
| 117 | |
| 118 | static void rcba_config(void) |
| 119 | { |
| 120 | /* Set up virtual channel 0 */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 121 | |
| 122 | /* Device 1f interrupt pin register */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 123 | RCBA32(D31IP) = 0x00042220; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 124 | |
| 125 | /* dev irq route register */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 126 | RCBA16(D31IR) = 0x0232; |
| 127 | RCBA16(D30IR) = 0x3246; |
| 128 | RCBA16(D29IR) = 0x0237; |
| 129 | RCBA16(D28IR) = 0x3201; |
| 130 | RCBA16(D27IR) = 0x3216; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 131 | |
| 132 | /* Enable IOAPIC */ |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 133 | RCBA8(OIC) = 0x03; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 134 | |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 135 | /* Disable unused devices */ |
Arthur Heymans | 6267f5d | 2018-12-15 23:46:48 +0100 | [diff] [blame] | 136 | RCBA32(FD) |= FD_INTLAN; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 137 | |
| 138 | /* This should probably go into the ACPI OS Init trap */ |
| 139 | |
| 140 | /* Set up I/O Trap #0 for 0xfe00 (SMIC) */ |
| 141 | RCBA32(0x1e84) = 0x00020001; |
| 142 | RCBA32(0x1e80) = 0x0000fe01; |
| 143 | |
| 144 | /* Set up I/O Trap #3 for 0x800-0x80c (Trap) */ |
| 145 | RCBA32(0x1e9c) = 0x000200f0; |
| 146 | RCBA32(0x1e98) = 0x000c0801; |
| 147 | } |
| 148 | |
| 149 | static void early_ich7_init(void) |
| 150 | { |
| 151 | uint8_t reg8; |
| 152 | uint32_t reg32; |
| 153 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 154 | /* program secondary mlt XXX byte? */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 155 | pci_write_config8(PCI_DEV(0, 0x1e, 0), 0x1b, 0x20); |
| 156 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 157 | /* reset rtc power status */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 158 | reg8 = pci_read_config8(PCI_DEV(0, 0x1f, 0), 0xa4); |
| 159 | reg8 &= ~(1 << 2); |
| 160 | pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xa4, reg8); |
| 161 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 162 | /* usb transient disconnect */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 163 | reg8 = pci_read_config8(PCI_DEV(0, 0x1f, 0), 0xad); |
| 164 | reg8 |= (3 << 0); |
| 165 | pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xad, reg8); |
| 166 | |
| 167 | reg32 = pci_read_config32(PCI_DEV(0, 0x1d, 7), 0xfc); |
| 168 | reg32 |= (1 << 29) | (1 << 17); |
| 169 | pci_write_config32(PCI_DEV(0, 0x1d, 7), 0xfc, reg32); |
| 170 | |
| 171 | reg32 = pci_read_config32(PCI_DEV(0, 0x1d, 7), 0xdc); |
| 172 | reg32 |= (1 << 31) | (1 << 27); |
| 173 | pci_write_config32(PCI_DEV(0, 0x1d, 7), 0xdc, reg32); |
| 174 | |
| 175 | RCBA32(0x0088) = 0x0011d000; |
| 176 | RCBA16(0x01fc) = 0x060f; |
| 177 | RCBA32(0x01f4) = 0x86000040; |
| 178 | RCBA32(0x0214) = 0x10030549; |
| 179 | RCBA32(0x0218) = 0x00020504; |
| 180 | RCBA8(0x0220) = 0xc5; |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 181 | reg32 = RCBA32(GCS); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 182 | reg32 |= (1 << 6); |
Arthur Heymans | b451df2 | 2017-08-15 20:59:09 +0200 | [diff] [blame] | 183 | RCBA32(GCS) = reg32; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 184 | reg32 = RCBA32(0x3430); |
| 185 | reg32 &= ~(3 << 0); |
| 186 | reg32 |= (1 << 0); |
| 187 | RCBA32(0x3430) = reg32; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 188 | RCBA16(0x0200) = 0x2008; |
| 189 | RCBA8(0x2027) = 0x0d; |
| 190 | RCBA16(0x3e08) |= (1 << 7); |
| 191 | RCBA16(0x3e48) |= (1 << 7); |
| 192 | RCBA32(0x3e0e) |= (1 << 7); |
| 193 | RCBA32(0x3e4e) |= (1 << 7); |
| 194 | |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 195 | /* next step only on ich7m b0 and later: */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 196 | reg32 = RCBA32(0x2034); |
| 197 | reg32 &= ~(0x0f << 16); |
| 198 | reg32 |= (5 << 16); |
| 199 | RCBA32(0x2034) = reg32; |
| 200 | } |
| 201 | |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 202 | static void init_artec_dongle(void) |
| 203 | { |
Elyes HAOUAS | ec16e93 | 2016-10-07 18:22:44 +0200 | [diff] [blame] | 204 | /* Enable 4MB decoding */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 205 | outb(0xf1, 0x88); |
| 206 | outb(0xf4, 0x88); |
| 207 | } |
| 208 | |
Kyösti Mälkki | 15fa992 | 2016-06-17 10:00:28 +0300 | [diff] [blame] | 209 | void mainboard_romstage_entry(unsigned long bist) |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 210 | { |
Vladimir Serbinenko | 5560188 | 2014-10-15 20:17:51 +0200 | [diff] [blame] | 211 | int s3resume = 0; |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 212 | |
Uwe Hermann | 7b99705 | 2010-11-21 22:47:22 +0000 | [diff] [blame] | 213 | if (bist == 0) |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 214 | enable_lapic(); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 215 | |
Stefan Reinauer | bf264e9 | 2010-05-14 19:09:20 +0000 | [diff] [blame] | 216 | /* Force PCIRST# */ |
| 217 | pci_write_config16(PCI_DEV(0, 0x1e, 0), BCTRL, SBR); |
Stefan Reinauer | bc8613e | 2010-08-25 18:35:42 +0000 | [diff] [blame] | 218 | udelay(200 * 1000); |
| 219 | pci_write_config16(PCI_DEV(0, 0x1e, 0), BCTRL, 0); |
Stefan Reinauer | bf264e9 | 2010-05-14 19:09:20 +0000 | [diff] [blame] | 220 | |
Stefan Reinauer | bc8613e | 2010-08-25 18:35:42 +0000 | [diff] [blame] | 221 | ich7_enable_lpc(); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 222 | early_superio_config(); |
| 223 | |
| 224 | /* Set up the console */ |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 225 | console_init(); |
| 226 | |
| 227 | /* Halt if there was a built in self test failure */ |
| 228 | report_bist_failure(bist); |
| 229 | |
| 230 | if (MCHBAR16(SSKPD) == 0xCAFE) { |
Stefan Reinauer | bf264e9 | 2010-05-14 19:09:20 +0000 | [diff] [blame] | 231 | printk(BIOS_DEBUG, "soft reset detected, rebooting properly\n"); |
Elyes HAOUAS | d07048a | 2019-04-21 20:17:11 +0200 | [diff] [blame^] | 232 | system_reset(); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 233 | } |
| 234 | |
| 235 | /* Perform some early chipset initialization required |
| 236 | * before RAM initialization can work |
| 237 | */ |
| 238 | i945_early_initialization(); |
| 239 | |
| 240 | /* This has to happen after i945_early_initialization() */ |
| 241 | init_artec_dongle(); |
| 242 | |
Vladimir Serbinenko | 5560188 | 2014-10-15 20:17:51 +0200 | [diff] [blame] | 243 | s3resume = southbridge_detect_s3_resume(); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 244 | |
| 245 | /* Enable SPD ROMs and DDR-II DRAM */ |
| 246 | enable_smbus(); |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 247 | |
Kyösti Mälkki | 346d201 | 2019-03-23 10:07:16 +0200 | [diff] [blame] | 248 | if (CONFIG(DEBUG_RAM_SETUP)) |
| 249 | dump_spd_registers(); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 250 | |
Vladimir Serbinenko | 5560188 | 2014-10-15 20:17:51 +0200 | [diff] [blame] | 251 | sdram_initialize(s3resume ? 2 : 0, NULL); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 252 | |
| 253 | /* Perform some initialization that must run before stage2 */ |
| 254 | early_ich7_init(); |
| 255 | |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 256 | /* This should probably go away. Until now it is required |
| 257 | * and mainboard specific |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 258 | */ |
| 259 | rcba_config(); |
| 260 | |
| 261 | /* Chipset Errata! */ |
| 262 | fixup_i945_errata(); |
| 263 | |
| 264 | /* Initialize the internal PCIe links before we go into stage2 */ |
Vladimir Serbinenko | 5560188 | 2014-10-15 20:17:51 +0200 | [diff] [blame] | 265 | i945_late_initialization(s3resume); |
Stefan Reinauer | 838c5a5 | 2010-01-17 14:08:17 +0000 | [diff] [blame] | 266 | } |