blob: 598ec45ed310ff99e1ab518be489b063b5602cc8 [file] [log] [blame]
Alexandru Gagniuc88a30232013-06-04 23:37:56 -05001/*
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 * Copyright (C) 2009 One Laptop per Child, Association, Inc.
8 * Copyright (C) 2011-2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; version 2 of the License.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010021 * Foundation, Inc.
Alexandru Gagniuc88a30232013-06-04 23:37:56 -050022 */
23
24/* As extracted from the manufacturer's ROM, the romstrap table looks like:
25 * .long 0x77886047 .long 0x00777777
26 * .long 0x00000000 .long 0x00000000
27 * .long 0x00888888 .long 0x00AA1111
28 * .long 0x00000000 .long 0x00000000
29 *
30 * The vendor BIOS then adjusts some of these settings very early on. Instead of
31 * adjusting those settings in code, we work them in the romstrap table.
32 *
33 */
34/* This file constructs the ROM strap table for VX900 */
35
36 .section ".romstrap", "a", @progbits
37
38 .globl __romstrap_start
39__romstrap_start:
40tblpointer:
41 .long 0x77886047
42 .long 0x00777777
43 .long 0x00000000
44 .long 0x00000000
45 .long 0x00888888
46 .long 0x00AA1111
47 .long 0x00000000
48 .long 0x00000000
49
50/*
51 * The pointer to above table should be at 0xffffffd0,
52 * the table itself MUST be aligned to 128B it seems!
53 */
54rspointers:
55 .long tblpointer // It will be 0xffffffd0
56
57 .globl __romstrap_end
58
59__romstrap_end:
60.previous