3 #ifndef NORTHBRIDGE_INTEL_I945_H
4 #define NORTHBRIDGE_INTEL_I945_H
6 #define DEFAULT_X60BAR 0xfed13000
14 #define INT15_5F35_CL_DISPLAY_DEFAULT 0
15 #define INT15_5F35_CL_DISPLAY_CRT (1 << 0)
16 #define INT15_5F35_CL_DISPLAY_TV (1 << 1)
17 #define INT15_5F35_CL_DISPLAY_EFP (1 << 2)
18 #define INT15_5F35_CL_DISPLAY_LCD (1 << 3)
19 #define INT15_5F35_CL_DISPLAY_CRT2 (1 << 4)
20 #define INT15_5F35_CL_DISPLAY_TV2 (1 << 5)
21 #define INT15_5F35_CL_DISPLAY_EFP2 (1 << 6)
22 #define INT15_5F35_CL_DISPLAY_LCD2 (1 << 7)
25 #define HOST_BRIDGE PCI_DEV(0, 0, 0)
36 #define DEVEN_D0F0 (1 << 0)
37 #define DEVEN_D1F0 (1 << 1)
38 #define DEVEN_D2F0 (1 << 3)
39 #define DEVEN_D2F1 (1 << 4)
42 #define BOARD_DEVEN (DEVEN_D0F0 | DEVEN_D2F0 | DEVEN_D2F1)
82 #define IGD_DEV PCI_DEV(0, 2, 0)
98 #define FSBSNPCTL 0x48
107 #define C0DCLKDIS 0x10c
108 #define C0BNKARC 0x10e
117 #define C0DCCFT 0x138
120 #define C0DTPEW 0x148
121 #define C0DTAEW 0x150
132 #define C1DCLKDIS 0x18c
133 #define C1BNKARC 0x18e
142 #define C1DCCFT 0x1b8
145 #define C1DTPEW 0x1c8
146 #define C1DTAEW 0x1d0
159 #define SMVREFC 0x2a0
163 #define RCVENMT 0x2f8
165 #define C0R0B00DQST 0x300
167 #define C0WL0REOST 0x340
168 #define C0WL1REOST 0x341
169 #define C0WL2REOST 0x342
170 #define C0WL3REOST 0x343
171 #define WDLLBYPMODE 0x360
172 #define C0WDLLCMC 0x36c
175 #define C1R0B00DQST 0x380
177 #define C1WL0REOST 0x3c0
178 #define C1WL1REOST 0x3c1
179 #define C1WL2REOST 0x3c2
180 #define C1WL3REOST 0x3c3
181 #define C1WDLLCMC 0x3ec
184 #define GBRCOMPCTL 0x400
186 #define SMSRCTL 0x408
187 #define C0DRAMW 0x40c
195 #define C1DRAMW 0x48c
199 #define G1SRPUT 0x500
200 #define G1SRPDT 0x520
201 #define G2SRPUT 0x540
202 #define G2SRPDT 0x560
203 #define G3SRPUT 0x580
204 #define G3SRPDT 0x5a0
205 #define G4SRPUT 0x5c0
206 #define G4SRPDT 0x5e0
207 #define G5SRPUT 0x600
208 #define G5SRPDT 0x620
209 #define G6SRPUT 0x640
210 #define G6SRPDT 0x660
211 #define G7SRPUT 0x680
212 #define G7SRPDT 0x6a0
213 #define G8SRPUT 0x6c0
214 #define G8SRPDT 0x6e0
224 #define HGIPMC2 0xc38
232 #define THERM1_1 0xc94
235 #define TSTTP1_2 0xc9c
240 #define TSTTP0_1 0xcdc
242 #define THERM0_1 0xce4
245 #define TSTTP0_2 0xcec
246 #define TERRCMD 0xcf0
247 #define TSMICMD 0xcf1
248 #define TSCICMD 0xcf2
249 #define TINTRCMD 0xcf3
250 #define EXTTSCS 0xcff
251 #define DFT_STRAP1 0xe08
267 #define FSBPMC1 0xfb8
275 #define EPPVCCAP1 0x004
276 #define EPPVCCAP2 0x008
278 #define EPVC0RCAP 0x010
279 #define EPVC0RCTL 0x014
280 #define EPVC0RSTS 0x01a
282 #define EPVC1RCAP 0x01c
283 #define EPVC1RCTL 0x020
284 #define EPVC1RSTS 0x026
286 #define EPVC1MTS 0x028
287 #define EPVC1IST 0x038
296 #define PORTARB 0x100
302 #define DMIVCECH 0x000
303 #define DMIPVCCAP1 0x004
304 #define DMIPVCCAP2 0x008
306 #define DMIPVCCCTL 0x00c
308 #define DMIVC0RCAP 0x010
309 #define DMIVC0RCTL0 0x014
310 #define DMIVC0RSTS 0x01a
312 #define DMIVC1RCAP 0x01c
313 #define DMIVC1RCTL 0x020
314 #define DMIVC1RSTS 0x026
316 #define DMILE1D 0x050
317 #define DMILE1A 0x058
318 #define DMILE2D 0x060
319 #define DMILE2A 0x068
321 #define DMILCAP 0x084
322 #define DMILCTL 0x088
323 #define DMILSTS 0x08a
325 #define DMICTL1 0x0f0
326 #define DMICTL2 0x0fc
330 #define DMIDRCCFG 0xeb4
void dump_spd_registers(u8 spd_map[4])
void dump_pci_devices(void)
void i945_early_initialization(void)
void sdram_dump_mchbar_registers(void)
u32 decode_igd_memory_size(u32 gms)
Decodes used Graphics Mode Select (GMS) to kilobytes.
void mainboard_lpc_decode(void)
void mainboard_late_rcba_config(void)
void print_pci_devices(void)
void i945_late_initialization(int s3resume)
u32 decode_tseg_size(const u8 esmramc)
void mainboard_pre_raminit_config(int s3_resume)
void mainboard_get_spd_map(u8 spd_map[4])
void dump_pci_device(unsigned int dev)
int i945_silicon_revision(void)