Revision 2507c12a hw/pxa2xx_pcmcia.c
b/hw/pxa2xx_pcmcia.c | ||
---|---|---|
140 | 140 |
|
141 | 141 |
/* Socket I/O Memory Space */ |
142 | 142 |
iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_io_readfn, |
143 |
pxa2xx_pcmcia_io_writefn, s); |
|
143 |
pxa2xx_pcmcia_io_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
144 | 144 |
cpu_register_physical_memory(base | 0x00000000, 0x04000000, iomemtype); |
145 | 145 |
|
146 | 146 |
/* Then next 64 MB is reserved */ |
147 | 147 |
|
148 | 148 |
/* Socket Attribute Memory Space */ |
149 | 149 |
iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_attr_readfn, |
150 |
pxa2xx_pcmcia_attr_writefn, s); |
|
150 |
pxa2xx_pcmcia_attr_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
151 | 151 |
cpu_register_physical_memory(base | 0x08000000, 0x04000000, iomemtype); |
152 | 152 |
|
153 | 153 |
/* Socket Common Memory Space */ |
154 | 154 |
iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_common_readfn, |
155 |
pxa2xx_pcmcia_common_writefn, s); |
|
155 |
pxa2xx_pcmcia_common_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
156 | 156 |
cpu_register_physical_memory(base | 0x0c000000, 0x04000000, iomemtype); |
157 | 157 |
|
158 | 158 |
if (base == 0x30000000) |
Also available in: Unified diff