1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef CVISIONPPC_H
15 #define CVISIONPPC_H
16
17 #ifndef PM2FB_H
18 #include "pm2fb.h"
19 #endif
20
21 struct cvppc_par {
22 unsigned char* pci_config;
23 unsigned char* pci_bridge;
24 u32 user_flags;
25 };
26
27 #define CSPPC_PCI_BRIDGE 0xfffe0000
28 #define CSPPC_BRIDGE_ENDIAN 0x0000
29 #define CSPPC_BRIDGE_INT 0x0010
30
31 #define CVPPC_PCI_CONFIG 0xfffc0000
32 #define CVPPC_ROM_ADDRESS 0xe2000001
33 #define CVPPC_REGS_REGION 0xef000000
34 #define CVPPC_FB_APERTURE_ONE 0xe0000000
35 #define CVPPC_FB_APERTURE_TWO 0xe1000000
36 #define CVPPC_FB_SIZE 0x00800000
37 #define CVPPC_MEM_CONFIG_OLD 0xed61fcaa
38 #define CVPPC_MEM_CONFIG_NEW 0xed41c532
39 #define CVPPC_MEMCLOCK 83000
40
41
42 #define CSPPCF_BRIDGE_BIG_ENDIAN 0x02
43
44
45 #define CSPPCF_BRIDGE_ACTIVE_INT2 0x01
46
47 #endif
48
49
50
51