blob: 26c1ee694af15f797bff9056bc3423e410276f27 [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.
Alexandru Gagniuc88a30232013-06-04 23:37:56 -050018 */
19
20/* As extracted from the manufacturer's ROM, the romstrap table looks like:
21 * .long 0x77886047 .long 0x00777777
22 * .long 0x00000000 .long 0x00000000
23 * .long 0x00888888 .long 0x00AA1111
24 * .long 0x00000000 .long 0x00000000
25 *
26 * The vendor BIOS then adjusts some of these settings very early on. Instead of
27 * adjusting those settings in code, we work them in the romstrap table.
28 *
29 */
30/* This file constructs the ROM strap table for VX900 */
31
32 .section ".romstrap", "a", @progbits
33
34 .globl __romstrap_start
35__romstrap_start:
36tblpointer:
37 .long 0x77886047
38 .long 0x00777777
39 .long 0x00000000
40 .long 0x00000000
41 .long 0x00888888
42 .long 0x00AA1111
43 .long 0x00000000
44 .long 0x00000000
45
46/*
47 * The pointer to above table should be at 0xffffffd0,
48 * the table itself MUST be aligned to 128B it seems!
49 */
50rspointers:
51 .long tblpointer // It will be 0xffffffd0
52
53 .globl __romstrap_end
54
55__romstrap_end:
56.previous