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.
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
23 /* This file constructs the ROM strap table for K8T890 and K8M890 */
25 .section ".romstrap", "a", @progbits
27 .globl __romstrap_start
33 * Below are some Dev0 Func2 HT control registers values,
34 * depending on strap pin, one of below lines is used.
36 #if CONFIG_SOUTHBRIDGE_VIA_K8M800 || CONFIG_SOUTHBRIDGE_VIA_K8T800
39 .long 0x50220000, 0X619707C2
40 .long 0x50220000, 0X619707C2
41 .long 0x50220000, 0X619707C2
55 #elif CONFIG_SOUTHBRIDGE_VIA_K8M890 || CONFIG_SOUTHBRIDGE_VIA_K8T890
58 .long 0x504400AA, 0x61970FC2 //;200M
59 .long 0x504400AA, 0x61970FC2 //;400M
60 .long 0x504400AA, 0x61970FC2 //;600M
61 .long 0x504400AA, 0x61970FC2 //;800M
62 .long 0x504400AA, 0x61970FC2 //;1000M
76 * The pointer to above table should be at 0xffffd,
77 * the table itself MUST be aligned to 128B it seems!
79 .long tblpointer - 0xFFF00000