spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / arm / mach-prima2 / prima2.c
blob02b9c05ff9905b5ca94d1f5672709fe68d6b8c5c
1 /*
2 * Defines machines for CSR SiRFprimaII
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #include <linux/init.h>
10 #include <linux/kernel.h>
11 #include <asm/sizes.h>
12 #include <asm/mach-types.h>
13 #include <asm/mach/arch.h>
14 #include <linux/of.h>
15 #include <linux/of_platform.h>
16 #include "common.h"
18 static struct of_device_id sirfsoc_of_bus_ids[] __initdata = {
19 { .compatible = "simple-bus", },
20 {},
23 void __init sirfsoc_mach_init(void)
25 of_platform_bus_probe(NULL, sirfsoc_of_bus_ids, NULL);
28 static const char *prima2cb_dt_match[] __initdata = {
29 "sirf,prima2-cb",
30 NULL
33 MACHINE_START(PRIMA2_EVB, "prima2cb")
34 /* Maintainer: Barry Song <baohua.song@csr.com> */
35 .atag_offset = 0x100,
36 .init_early = sirfsoc_of_clk_init,
37 .map_io = sirfsoc_map_lluart,
38 .init_irq = sirfsoc_of_irq_init,
39 .timer = &sirfsoc_timer,
40 .dma_zone_size = SZ_256M,
41 .init_machine = sirfsoc_mach_init,
42 .dt_compat = prima2cb_dt_match,
43 .restart = sirfsoc_restart,
44 MACHINE_END