2 * This file is part of the coreboot project.
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>
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.
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.
19 /* This file constructs the ROM strap table for K8T890 and K8M890 */
21 .section ".romstrap", "a", @progbits
23 .globl __romstrap_start
29 * Below are some Dev0 Func2 HT control registers values,
30 * depending on strap pin, one of below lines is used.
32 #if CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M800 || CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800 || CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD
35 .long 0x50220000, 0X619707C2
36 .long 0x50220000, 0X619707C2
37 .long 0x50220000, 0X619707C2
51 #elif CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8M890
54 .long 0x504400FF, 0x61970FC2 //;200M
55 .long 0x504400FF, 0x61970FC2 //;400M
56 .long 0x504400FF, 0x61970FC2 //;600M
57 .long 0x504400FF, 0x61970FC2 //;800M
58 .long 0x504400FF, 0x61970FC2 //;1000M
71 #elif CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T890
74 .long 0x504400AA, 0x61970FC2 //;200M
75 .long 0x504400AA, 0x61970FC2 //;400M
76 .long 0x504400AA, 0x61970FC2 //;600M
77 .long 0x504400AA, 0x61970FC2 //;800M
78 .long 0x504400AA, 0x61970FC2 //;1000M
92 * The pointer to above table should be at 0xffffd,
93 * the table itself MUST be aligned to 128B it seems!
95 .long tblpointer - 0xFFF00000