]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-prima2/common.c
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-prima2 / common.c
CommitLineData
02c981c0 1/*
013dd12f 2 * Defines machines for CSR SiRFprimaII
02c981c0
BD
3 *
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
5 *
6 * Licensed under GPLv2 or later.
7 */
8
9#include <linux/init.h>
10#include <linux/kernel.h>
1bdfd27a 11#include <asm/sizes.h>
02c981c0
BD
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"
17
c1ae3f7c 18static void __init __maybe_unused sirfsoc_init_late(void)
a4b4674e
SG
19{
20 sirfsoc_pm_init();
21}
22
d4fe49e5 23#ifdef CONFIG_ARCH_ATLAS6
543c5040 24static const char *const atlas6_dt_match[] __initconst = {
d4fe49e5
BS
25 "sirf,atlas6",
26 NULL
27};
28
29DT_MACHINE_START(ATLAS6_DT, "Generic ATLAS6 (Flattened Device Tree)")
30 /* Maintainer: Barry Song <baohua.song@csr.com> */
918197be
RK
31 .l2c_aux_val = 0,
32 .l2c_aux_mask = ~0,
d4fe49e5
BS
33 .init_late = sirfsoc_init_late,
34 .dt_compat = atlas6_dt_match,
d4fe49e5
BS
35MACHINE_END
36#endif
37
d0ec63f8 38#ifdef CONFIG_ARCH_PRIMA2
543c5040 39static const char *const prima2_dt_match[] __initconst = {
5a0ec569
BS
40 "sirf,prima2",
41 NULL
02c981c0
BD
42};
43
d0ec63f8 44DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)")
02c981c0 45 /* Maintainer: Barry Song <baohua.song@csr.com> */
918197be
RK
46 .l2c_aux_val = 0,
47 .l2c_aux_mask = ~0,
98b0124f 48 .dma_zone_size = SZ_256M,
a4b4674e 49 .init_late = sirfsoc_init_late,
d0ec63f8 50 .dt_compat = prima2_dt_match,
02c981c0 51MACHINE_END
d0ec63f8 52#endif
4cba0585
ZS
53
54#ifdef CONFIG_ARCH_ATLAS7
543c5040 55static const char *const atlas7_dt_match[] __initconst = {
4cba0585
ZS
56 "sirf,atlas7",
57 NULL
58};
59
60DT_MACHINE_START(ATLAS7_DT, "Generic ATLAS7 (Flattened Device Tree)")
61 /* Maintainer: Barry Song <baohua.song@csr.com> */
62 .smp = smp_ops(sirfsoc_smp_ops),
63 .dt_compat = atlas7_dt_match,
64MACHINE_END
65#endif