Go to the documentation of this file. 1 #ifndef __MACH_SH2007_H
2 #define __MACH_SH2007_H
4 #define CS5BCR 0xff802050
5 #define CS5WCR 0xff802058
6 #define CS5PCR 0xff802070
12 #define PCMCIA_IODYN 1
16 #define PCMCIA_COMM8 4
17 #define PCMCIA_COMM16 5
18 #define PCMCIA_ATTR8 6
19 #define PCMCIA_ATTR16 7
55 #define TYPE5 TYPE_PCMCIA
56 #define TYPE6 TYPE_PCMCIA
82 #define SAA5 PCMCIA_IODYN
83 #define SAB5 PCMCIA_IODYN
97 #define CS5BCR_D ((IWW5<<28)|(IWRWD5<<24)|(IWRWS5<<20)| \
98 (IWRRD5<<16)|(IWRRS5<<12)|(BST5<<10)| \
99 (SZ5<<8)|(RDSPL5<<7)|(BW5<<4)|(MPX5<<3)|TYPE5)
100 #define CS5WCR_D ((ADS5<<28)|(ADH5<<24)|(RDS5<<20)| \
101 (RDH5<<16)|(WTS5<<12)|(WTH5<<8)|(BSH5<<4)|IW5)
102 #define CS5PCR_D ((SAA5<<28)|(SAB5<<24)|(PCWA5<<22)| \
103 (PCWB5<<20)|(PCIW5<<16)|(TEDA5<<12)| \
104 (TEDB5<<8)|(TEHA5<<4)|TEHB5)
106 #define SMC0_BASE 0xb0800000
107 #define SMC1_BASE 0xb0900000
108 #define CF_BASE 0xb6100000
109 #define IDE_BASE 0xb4000000
110 #define PC104_IO_BASE 0xb8000000
111 #define PC104_MEM_BASE 0xba000000
112 #define SMC_IO_SIZE 0x100
114 #define CF_OFFSET 0x1f0
115 #define IDE_OFFSET 0x170