summaryrefslogtreecommitdiff
path: root/src/southbridge/ricoh/rl5c476/rl5c476.h
blob: cfaf3c80bd2546b2102536a0da7bf157fc447ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
 * This file is part of the coreboot project.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

 /* rl5c476 routines and defines*/


#include <stdint.h>


/* the 16 bit control structure for ricoh cardbus bridge */
typedef struct pc16reg  {
	u8 idrevs;
	u8 ifstat;
	u8 pwctrl;
	u8 igctrl;
	u8 cschg;
	u8 cscint;
	u8 awinen;
	u8 ioctrl;
	u8 iostl0;
	u8 iosth0;
	u8 iospl0;
	u8 iosph0;
	u8 iostl1;
	u8 iosth1;
	u8 iospl1;
	u8 iosph1;
	u8 smstl0;
	u8 smsth0;
	u8 smspl0;
	u8 smsph0;
	u8 moffl0;
	u8 moffh0;
	u8 cdgenc;
	u8 resv1;
	u8 smstl1;
	u8 smsth1;
	u8 smspl1;
	u8 smsph1;
	u8 moffl1;
	u8 moffh1;
	u8 glctrl;
	u8 atctrl;
	u8 smstl2;
	u8 smsth2;
	u8 smspl2;
	u8 smsph2;
	u8 moffl2;
	u8 moffh2;
	u8 resv2;
	u8 resv3;
	u8 smstl3;
	u8 smsth3;
	u8 smspl3;
	u8 smsph3;
	u8 moffl3;
	u8 moffh3;
	u8 resv4;
	u8 miscc1;
	u8 smstl4;
	u8 smsth4;
	u8 smspl4;
	u8 smsph4;
	u8 moffl4;
	u8 moffh4;
	u8 ioffl0;
	u8 ioffh0;
	u8 ioffl1;
	u8 ioffh1;
	u8 gpio;
	u8 resv5;
	u8 resv6;
	u8 resv7;
	u8 resv8;
	u8 resv9;
	u8 smpga0;
} __packed pc16reg_t;