blob: fe0de1698edc95c9e4aedf78aac576d2fc9e69b8 [file] [log] [blame]
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +01001/*
Lennert Buytenhek9dd0b192008-03-27 14:51:41 -04002 * arch/arm/mach-orion5x/dns323-setup.c
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +01003 *
4 * Copyright (C) 2007 Herbert Valerio Riedel <hvr@gnu.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 */
12
13#include <linux/kernel.h>
14#include <linux/init.h>
Erik Benadacf110522010-01-24 13:43:04 -080015#include <linux/delay.h>
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010016#include <linux/platform_device.h>
17#include <linux/pci.h>
18#include <linux/irq.h>
19#include <linux/mtd/physmap.h>
20#include <linux/mv643xx_eth.h>
21#include <linux/leds.h>
22#include <linux/gpio_keys.h>
23#include <linux/input.h>
24#include <linux/i2c.h>
Matt Palmerf93e4152008-10-22 10:16:36 +020025#include <linux/ata_platform.h>
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010026#include <asm/mach-types.h>
27#include <asm/gpio.h>
28#include <asm/mach/arch.h>
29#include <asm/mach/pci.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010030#include <mach/orion5x.h>
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010031#include "common.h"
Lennert Buytenhek19cfd5c2008-05-10 23:25:46 +020032#include "mpp.h"
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010033
34#define DNS323_GPIO_LED_RIGHT_AMBER 1
35#define DNS323_GPIO_LED_LEFT_AMBER 2
Erik Benadacf110522010-01-24 13:43:04 -080036#define DNS323_GPIO_SYSTEM_UP 3
Laurie Bradshawb2a731a2010-02-10 16:10:43 +000037#define DNS323_GPIO_LED_POWER1 4
38#define DNS323_GPIO_LED_POWER2 5
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010039#define DNS323_GPIO_OVERTEMP 6
40#define DNS323_GPIO_RTC 7
41#define DNS323_GPIO_POWER_OFF 8
42#define DNS323_GPIO_KEY_POWER 9
43#define DNS323_GPIO_KEY_RESET 10
44
45/****************************************************************************
46 * PCI setup
47 */
48
49static int __init dns323_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
50{
Lennert Buytenhek92b913b2008-04-25 16:28:33 -040051 int irq;
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010052
Lennert Buytenhek92b913b2008-04-25 16:28:33 -040053 /*
54 * Check for devices with hard-wired IRQs.
55 */
56 irq = orion5x_pci_map_irq(dev, slot, pin);
57 if (irq != -1)
58 return irq;
59
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010060 return -1;
61}
62
63static struct hw_pci dns323_pci __initdata = {
Lennert Buytenhekbbdf1c12008-05-15 10:31:14 +010064 .nr_controllers = 2,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010065 .swizzle = pci_std_swizzle,
Lennert Buytenhek9dd0b192008-03-27 14:51:41 -040066 .setup = orion5x_pci_sys_setup,
67 .scan = orion5x_pci_sys_scan_bus,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010068 .map_irq = dns323_pci_map_irq,
69};
70
Matt Palmerf93e4152008-10-22 10:16:36 +020071static int __init dns323_dev_id(void)
72{
73 u32 dev, rev;
74
75 orion5x_pcie_id(&dev, &rev);
76
77 return dev;
78}
79
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010080static int __init dns323_pci_init(void)
81{
Martin Michlmayrace14b82009-03-10 08:59:58 +010082 /* The 5182 doesn't really use its PCI bus, and initialising PCI
Matt Palmerf93e4152008-10-22 10:16:36 +020083 * gets in the way of initialising the SATA controller.
84 */
85 if (machine_is_dns323() && dns323_dev_id() != MV88F5182_DEV_ID)
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010086 pci_common_init(&dns323_pci);
87
88 return 0;
89}
90
91subsys_initcall(dns323_pci_init);
92
93/****************************************************************************
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +010094 * 8MiB NOR flash (Spansion S29GL064M90TFIR4)
95 *
96 * Layout as used by D-Link:
97 * 0x00000000-0x00010000 : "MTD1"
98 * 0x00010000-0x00020000 : "MTD2"
99 * 0x00020000-0x001a0000 : "Linux Kernel"
100 * 0x001a0000-0x007d0000 : "File System"
101 * 0x007d0000-0x00800000 : "u-boot"
102 */
103
104#define DNS323_NOR_BOOT_BASE 0xf4000000
105#define DNS323_NOR_BOOT_SIZE SZ_8M
106
107static struct mtd_partition dns323_partitions[] = {
108 {
109 .name = "MTD1",
110 .size = 0x00010000,
111 .offset = 0,
112 }, {
113 .name = "MTD2",
114 .size = 0x00010000,
115 .offset = 0x00010000,
116 }, {
117 .name = "Linux Kernel",
118 .size = 0x00180000,
119 .offset = 0x00020000,
120 }, {
121 .name = "File System",
122 .size = 0x00630000,
123 .offset = 0x001A0000,
124 }, {
125 .name = "u-boot",
126 .size = 0x00030000,
127 .offset = 0x007d0000,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200128 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100129};
130
131static struct physmap_flash_data dns323_nor_flash_data = {
132 .width = 1,
133 .parts = dns323_partitions,
134 .nr_parts = ARRAY_SIZE(dns323_partitions)
135};
136
137static struct resource dns323_nor_flash_resource = {
138 .flags = IORESOURCE_MEM,
139 .start = DNS323_NOR_BOOT_BASE,
140 .end = DNS323_NOR_BOOT_BASE + DNS323_NOR_BOOT_SIZE - 1,
141};
142
143static struct platform_device dns323_nor_flash = {
144 .name = "physmap-flash",
145 .id = 0,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200146 .dev = {
147 .platform_data = &dns323_nor_flash_data,
148 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100149 .resource = &dns323_nor_flash_resource,
150 .num_resources = 1,
151};
152
153/****************************************************************************
Matt Palmera93f44c2008-10-19 08:15:09 +1100154 * Ethernet
155 */
156
157static struct mv643xx_eth_platform_data dns323_eth_data = {
158 .phy_addr = MV643XX_ETH_PHY_ADDR(8),
159};
160
161/* dns323_parse_hex_*() taken from tsx09-common.c; should a common copy of these
162 * functions be kept somewhere?
163 */
164static int __init dns323_parse_hex_nibble(char n)
165{
166 if (n >= '0' && n <= '9')
167 return n - '0';
168
169 if (n >= 'A' && n <= 'F')
170 return n - 'A' + 10;
171
172 if (n >= 'a' && n <= 'f')
173 return n - 'a' + 10;
174
175 return -1;
176}
177
178static int __init dns323_parse_hex_byte(const char *b)
179{
180 int hi;
181 int lo;
182
183 hi = dns323_parse_hex_nibble(b[0]);
184 lo = dns323_parse_hex_nibble(b[1]);
185
186 if (hi < 0 || lo < 0)
187 return -1;
188
189 return (hi << 4) | lo;
190}
191
192static int __init dns323_read_mac_addr(void)
193{
194 u_int8_t addr[6];
195 int i;
196 char *mac_page;
197
198 /* MAC address is stored as a regular ol' string in /dev/mtdblock4
199 * (0x007d0000-0x00800000) starting at offset 196480 (0x2ff80).
200 */
201 mac_page = ioremap(DNS323_NOR_BOOT_BASE + 0x7d0000 + 196480, 1024);
202 if (!mac_page)
203 return -ENOMEM;
204
205 /* Sanity check the string we're looking at */
206 for (i = 0; i < 5; i++) {
207 if (*(mac_page + (i * 3) + 2) != ':') {
208 goto error_fail;
209 }
210 }
211
212 for (i = 0; i < 6; i++) {
213 int byte;
214
215 byte = dns323_parse_hex_byte(mac_page + (i * 3));
216 if (byte < 0) {
217 goto error_fail;
218 }
219
220 addr[i] = byte;
221 }
222
223 iounmap(mac_page);
224 printk("DNS323: Found ethernet MAC address: ");
225 for (i = 0; i < 6; i++)
226 printk("%.2x%s", addr[i], (i < 5) ? ":" : ".\n");
227
228 memcpy(dns323_eth_data.mac_addr, addr, 6);
229
230 return 0;
231
232error_fail:
233 iounmap(mac_page);
234 return -EINVAL;
235}
236
237/****************************************************************************
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100238 * GPIO LEDs (simple - doesn't use hardware blinking support)
239 */
240
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000241#define ORION_BLINK_HALF_PERIOD 100 /* ms */
242
Benjamin Herrenschmidt21463252010-05-22 20:54:55 +1000243static int dns323_gpio_blink_set(unsigned gpio, int state,
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000244 unsigned long *delay_on, unsigned long *delay_off)
245{
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000246
Benjamin Herrenschmidt21463252010-05-22 20:54:55 +1000247 if (delay_on && delay_off && !*delay_on && !*delay_off)
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000248 *delay_on = *delay_off = ORION_BLINK_HALF_PERIOD;
249
Benjamin Herrenschmidt21463252010-05-22 20:54:55 +1000250 switch(state) {
251 case GPIO_LED_NO_BLINK_LOW:
252 case GPIO_LED_NO_BLINK_HIGH:
253 orion_gpio_set_blink(gpio, 0);
254 gpio_set_value(gpio, state);
255 break;
256 case GPIO_LED_BLINK:
257 orion_gpio_set_blink(gpio, 1);
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000258 }
Benjamin Herrenschmidt21463252010-05-22 20:54:55 +1000259 return 0;
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000260}
261
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100262static struct gpio_led dns323_leds[] = {
263 {
264 .name = "power:blue",
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000265 .gpio = DNS323_GPIO_LED_POWER2,
266 .default_trigger = "timer",
Benjamin Herrenschmidt21463252010-05-22 20:54:55 +1000267 .active_low = 1,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100268 }, {
269 .name = "right:amber",
270 .gpio = DNS323_GPIO_LED_RIGHT_AMBER,
271 .active_low = 1,
272 }, {
273 .name = "left:amber",
274 .gpio = DNS323_GPIO_LED_LEFT_AMBER,
275 .active_low = 1,
276 },
277};
278
279static struct gpio_led_platform_data dns323_led_data = {
280 .num_leds = ARRAY_SIZE(dns323_leds),
281 .leds = dns323_leds,
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000282 .gpio_blink_set = dns323_gpio_blink_set,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100283};
284
285static struct platform_device dns323_gpio_leds = {
286 .name = "leds-gpio",
287 .id = -1,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200288 .dev = {
289 .platform_data = &dns323_led_data,
290 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100291};
292
293/****************************************************************************
294 * GPIO Attached Keys
295 */
296
297static struct gpio_keys_button dns323_buttons[] = {
298 {
299 .code = KEY_RESTART,
300 .gpio = DNS323_GPIO_KEY_RESET,
301 .desc = "Reset Button",
302 .active_low = 1,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200303 }, {
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100304 .code = KEY_POWER,
305 .gpio = DNS323_GPIO_KEY_POWER,
306 .desc = "Power Button",
307 .active_low = 1,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200308 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100309};
310
311static struct gpio_keys_platform_data dns323_button_data = {
312 .buttons = dns323_buttons,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200313 .nbuttons = ARRAY_SIZE(dns323_buttons),
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100314};
315
316static struct platform_device dns323_button_device = {
317 .name = "gpio-keys",
318 .id = -1,
319 .num_resources = 0,
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200320 .dev = {
321 .platform_data = &dns323_button_data,
322 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100323};
324
Matt Palmerf93e4152008-10-22 10:16:36 +0200325/*****************************************************************************
326 * SATA
327 */
328static struct mv_sata_platform_data dns323_sata_data = {
329 .n_ports = 2,
330};
331
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100332/****************************************************************************
333 * General Setup
334 */
Matt Palmerf93e4152008-10-22 10:16:36 +0200335static struct orion5x_mpp_mode dns323_mv88f5181_mpp_modes[] __initdata = {
Lennert Buytenhek19cfd5c2008-05-10 23:25:46 +0200336 { 0, MPP_PCIE_RST_OUTn },
337 { 1, MPP_GPIO }, /* right amber LED (sata ch0) */
338 { 2, MPP_GPIO }, /* left amber LED (sata ch1) */
339 { 3, MPP_UNUSED },
340 { 4, MPP_GPIO }, /* power button LED */
341 { 5, MPP_GPIO }, /* power button LED */
342 { 6, MPP_GPIO }, /* GMT G751-2f overtemp */
343 { 7, MPP_GPIO }, /* M41T80 nIRQ/OUT/SQW */
344 { 8, MPP_GPIO }, /* triggers power off */
345 { 9, MPP_GPIO }, /* power button switch */
346 { 10, MPP_GPIO }, /* reset button switch */
347 { 11, MPP_UNUSED },
348 { 12, MPP_UNUSED },
349 { 13, MPP_UNUSED },
350 { 14, MPP_UNUSED },
351 { 15, MPP_UNUSED },
352 { 16, MPP_UNUSED },
353 { 17, MPP_UNUSED },
354 { 18, MPP_UNUSED },
355 { 19, MPP_UNUSED },
356 { -1 },
357};
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100358
Matt Palmerf93e4152008-10-22 10:16:36 +0200359static struct orion5x_mpp_mode dns323_mv88f5182_mpp_modes[] __initdata = {
360 { 0, MPP_UNUSED },
361 { 1, MPP_GPIO }, /* right amber LED (sata ch0) */
362 { 2, MPP_GPIO }, /* left amber LED (sata ch1) */
Erik Benadacf110522010-01-24 13:43:04 -0800363 { 3, MPP_GPIO }, /* system up flag */
Matt Palmerf93e4152008-10-22 10:16:36 +0200364 { 4, MPP_GPIO }, /* power button LED */
365 { 5, MPP_GPIO }, /* power button LED */
366 { 6, MPP_GPIO }, /* GMT G751-2f overtemp */
367 { 7, MPP_GPIO }, /* M41T80 nIRQ/OUT/SQW */
368 { 8, MPP_GPIO }, /* triggers power off */
369 { 9, MPP_GPIO }, /* power button switch */
370 { 10, MPP_GPIO }, /* reset button switch */
371 { 11, MPP_UNUSED },
372 { 12, MPP_SATA_LED },
373 { 13, MPP_SATA_LED },
374 { 14, MPP_SATA_LED },
375 { 15, MPP_SATA_LED },
376 { 16, MPP_UNUSED },
377 { 17, MPP_UNUSED },
378 { 18, MPP_UNUSED },
379 { 19, MPP_UNUSED },
380 { -1 },
381};
382
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100383/*
384 * On the DNS-323 the following devices are attached via I2C:
385 *
386 * i2c addr | chip | description
387 * 0x3e | GMT G760Af | fan speed PWM controller
388 * 0x48 | GMT G751-2f | temp. sensor and therm. watchdog (LM75 compatible)
389 * 0x68 | ST M41T80 | RTC w/ alarm
390 */
391static struct i2c_board_info __initdata dns323_i2c_devices[] = {
392 {
393 I2C_BOARD_INFO("g760a", 0x3e),
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200394 }, {
Martin Michlmayrc0fe8192008-08-12 12:50:14 +0300395 I2C_BOARD_INFO("lm75", 0x48),
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200396 }, {
Jean Delvare3760f732008-04-29 23:11:40 +0200397 I2C_BOARD_INFO("m41t80", 0x68),
Lennert Buytenheke7068ad2008-05-10 16:30:01 +0200398 },
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100399};
400
Erik Benadacf110522010-01-24 13:43:04 -0800401/* DNS-323 rev. A specific power off method */
402static void dns323a_power_off(void)
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100403{
404 pr_info("%s: triggering power-off...\n", __func__);
405 gpio_set_value(DNS323_GPIO_POWER_OFF, 1);
406}
407
Erik Benadacf110522010-01-24 13:43:04 -0800408/* DNS-323 rev B specific power off method */
409static void dns323b_power_off(void)
410{
411 pr_info("%s: triggering power-off...\n", __func__);
412 /* Pin has to be changed to 1 and back to 0 to do actual power off. */
413 gpio_set_value(DNS323_GPIO_POWER_OFF, 1);
414 mdelay(100);
415 gpio_set_value(DNS323_GPIO_POWER_OFF, 0);
416}
417
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100418static void __init dns323_init(void)
419{
420 /* Setup basic Orion functions. Need to be called early. */
Lennert Buytenhek9dd0b192008-03-27 14:51:41 -0400421 orion5x_init();
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100422
Matt Palmerf93e4152008-10-22 10:16:36 +0200423 /* Just to be tricky, the 5182 has a completely different
424 * set of MPP modes to the 5181.
425 */
426 if (dns323_dev_id() == MV88F5182_DEV_ID)
427 orion5x_mpp_conf(dns323_mv88f5182_mpp_modes);
428 else {
429 orion5x_mpp_conf(dns323_mv88f5181_mpp_modes);
430 writel(0, MPP_DEV_CTRL); /* DEV_D[31:16] */
431 }
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100432
Lennert Buytenhek044f6c72008-04-22 05:37:12 +0200433 /* setup flash mapping
434 * CS3 holds a 8 MB Spansion S29GL064M90TFIR4
435 */
436 orion5x_setup_dev_boot_win(DNS323_NOR_BOOT_BASE, DNS323_NOR_BOOT_SIZE);
437 platform_device_register(&dns323_nor_flash);
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100438
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000439 /* The 5181 power LED is active low and requires
440 * DNS323_GPIO_LED_POWER1 to also be low.
441 */
442 if (dns323_dev_id() == MV88F5181_DEV_ID) {
443 dns323_leds[0].active_low = 1;
Arnaud Patard5ccc8da2010-04-03 10:31:33 +0200444 gpio_request(DNS323_GPIO_LED_POWER1, "Power Led Enable");
Laurie Bradshawb2a731a2010-02-10 16:10:43 +0000445 gpio_direction_output(DNS323_GPIO_LED_POWER1, 0);
446 }
447
Lennert Buytenhek044f6c72008-04-22 05:37:12 +0200448 platform_device_register(&dns323_gpio_leds);
449
450 platform_device_register(&dns323_button_device);
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100451
452 i2c_register_board_info(0, dns323_i2c_devices,
453 ARRAY_SIZE(dns323_i2c_devices));
454
Matt Palmera93f44c2008-10-19 08:15:09 +1100455 /*
456 * Configure peripherals.
457 */
458 if (dns323_read_mac_addr() < 0)
459 printk("DNS323: Failed to read MAC address\n");
460
461 orion5x_ehci0_init();
462 orion5x_eth_init(&dns323_eth_data);
463 orion5x_i2c_init();
464 orion5x_uart0_init();
465
Martin Michlmayrace14b82009-03-10 08:59:58 +0100466 /* The 5182 has its SATA controller on-chip, and needs its own little
Matt Palmerf93e4152008-10-22 10:16:36 +0200467 * init routine.
468 */
469 if (dns323_dev_id() == MV88F5182_DEV_ID)
470 orion5x_sata_init(&dns323_sata_data);
471
Erik Benadacf110522010-01-24 13:43:04 -0800472 /* The 5182 has flag to indicate the system is up. Without this flag
473 * set, power LED will flash and cannot be controlled via leds-gpio.
474 */
475 if (dns323_dev_id() == MV88F5182_DEV_ID)
476 gpio_set_value(DNS323_GPIO_SYSTEM_UP, 1);
477
478 /* Register dns323 specific power-off method */
Lennert Buytenhek044f6c72008-04-22 05:37:12 +0200479 if (gpio_request(DNS323_GPIO_POWER_OFF, "POWEROFF") != 0 ||
480 gpio_direction_output(DNS323_GPIO_POWER_OFF, 0) != 0)
481 pr_err("DNS323: failed to setup power-off GPIO\n");
Erik Benadacf110522010-01-24 13:43:04 -0800482 if (dns323_dev_id() == MV88F5182_DEV_ID)
483 pm_power_off = dns323b_power_off;
484 else
485 pm_power_off = dns323a_power_off;
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100486}
487
488/* Warning: D-Link uses a wrong mach-type (=526) in their bootloader */
489MACHINE_START(DNS323, "D-Link DNS-323")
490 /* Maintainer: Herbert Valerio Riedel <hvr@gnu.org> */
Lennert Buytenhek9dd0b192008-03-27 14:51:41 -0400491 .phys_io = ORION5X_REGS_PHYS_BASE,
492 .io_pg_offst = ((ORION5X_REGS_VIRT_BASE) >> 18) & 0xFFFC,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100493 .boot_params = 0x00000100,
494 .init_machine = dns323_init,
Lennert Buytenhek9dd0b192008-03-27 14:51:41 -0400495 .map_io = orion5x_map_io,
496 .init_irq = orion5x_init_irq,
497 .timer = &orion5x_timer,
Guennadi Liakhovetskibe73a342008-02-29 21:12:57 +0100498 .fixup = tag_fixup_mem32,
Herbert Valerio Riedel555a3652007-11-12 09:05:55 +0100499MACHINE_END