Improve VIA K8M890 HT settings. Use recommended settings for ROMSIP and
[coreboot.git] / src / southbridge / via / k8t890 / romstrap.inc
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2004 Tyan Computer
5  * (Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer)
6  * Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
21  */
22
23 /* This file constructs the ROM strap table for K8T890 and K8M890 */
24
25 .section ".romstrap", "a", @progbits
26
27 .globl __romstrap_start
28 .globl __romstrap_end
29
30 __romstrap_start:
31
32 /*
33  * Below are some Dev0 Func2 HT control registers values,
34  * depending on strap pin, one of below lines is used.
35  */
36 #if CONFIG_SOUTHBRIDGE_VIA_K8M800 || CONFIG_SOUTHBRIDGE_VIA_K8T800
37
38 tblpointer:
39 .long 0x50220000, 0X619707C2
40 .long 0x50220000, 0X619707C2
41 .long 0x50220000, 0X619707C2
42 .long 0x0
43 .long 0x0
44 .long 0x0
45 .long 0x0
46 .long 0x0
47 .long 0x0
48 .long 0x0
49 .long 0x0
50 .long 0x0
51 .long 0x0
52 .long 0x0
53 .long 0x0
54
55 #elif CONFIG_SOUTHBRIDGE_VIA_K8M890
56
57 tblpointer:
58 .long 0x504400FF, 0x61970FC2    //;200M
59 .long 0x504400FF, 0x61970FC2    //;400M
60 .long 0x504400FF, 0x61970FC2    //;600M
61 .long 0x504400FF, 0x61970FC2    //;800M
62 .long 0x504400FF, 0x61970FC2    //;1000M
63 .long 0x0
64 .long 0x0
65 .long 0x0
66 .long 0x0
67 .long 0x0
68 .long 0x0
69 .long 0x0
70 .long 0x0
71 .long 0x0
72 .long 0x0
73
74
75 #elif CONFIG_SOUTHBRIDGE_VIA_K8T890
76
77 tblpointer:
78 .long 0x504400AA, 0x61970FC2    //;200M
79 .long 0x504400AA, 0x61970FC2    //;400M
80 .long 0x504400AA, 0x61970FC2    //;600M
81 .long 0x504400AA, 0x61970FC2    //;800M
82 .long 0x504400AA, 0x61970FC2    //;1000M
83 .long 0x0
84 .long 0x0
85 .long 0x0
86 .long 0x0
87 .long 0x0
88 .long 0x0
89 .long 0x0
90 .long 0x0
91 .long 0x0
92 .long 0x0
93
94 #endif
95 /*
96  * The pointer to above table should be at 0xffffd,
97  * the table itself MUST be aligned to 128B it seems!
98  */
99 .long tblpointer - 0xFFF00000
100
101 __romstrap_end:
102
103 .previous