blob: cdbde2fa4aec74f62da898be8b79e4a7c16f6c11 [file] [log] [blame]
Gerd Hoffmannf4c6e4c2019-03-08 11:42:25 +01001//
2// Fake ati bios tables.
3//
4// aty128fb and radeonfb try to gather informations from these tables,
5// so add some stuff here to make the drivers happy. Specifically
6// radeonfb needs the pll information, otherwise it'll crash with a
7// division by zero ...
8//
9 .org 0x48
10 .word _ati_main
11
12 // main info
13 .org 0x50
14_ati_main:
15 .org 0x50 + 0x30
16 .word _ati_pll
17 .org 0x50 + 0x50
18 .word _ati_connector
19
20 // pll info
21 .org 0x100
22_ati_pll:
23 .word 0 // ??? (not used by radeonfb)
24 .word 0
25 .word 0
26 .word 0
27 .word 23000 // sclk
28 .word 23000 // mclk
29 .word 0
30 .word 2700 // ref_clk
31 .word 4 // ref_div
32 .long 12000 // ppll_min
33 .long 35000 // ppll_max
34
35 // connector info
36 .org 0x140
37_ati_connector:
38 .byte 0x10 // one chip
39 .byte 0x01 // one connector
40 .word 0x3000 // type DVI-I
41 .word 0 // end of list
42
43 .org 0x200