Raja Mallik | 3621de6 | 2018-02-12 14:40:05 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | #include <linux/kernel.h> |
| 15 | #include <asm/mach/map.h> |
| 16 | #include <asm/mach/arch.h> |
| 17 | #include "board-dt.h" |
Raja Mallik | 869b676 | 2018-02-21 18:46:14 +0530 | [diff] [blame] | 18 | #include "platsmp.h" |
Raja Mallik | 3621de6 | 2018-02-12 14:40:05 +0530 | [diff] [blame] | 19 | |
| 20 | static const char *msm8909_dt_match[] __initconst = { |
| 21 | "qcom,msm8909", |
Raja Mallik | be0cbf7 | 2018-03-18 13:14:40 +0530 | [diff] [blame] | 22 | "qcom,apq8009", |
Raja Mallik | 3621de6 | 2018-02-12 14:40:05 +0530 | [diff] [blame] | 23 | NULL |
| 24 | }; |
| 25 | |
| 26 | static void __init msm8909_init(void) |
| 27 | { |
| 28 | board_dt_populate(NULL); |
| 29 | } |
| 30 | |
| 31 | DT_MACHINE_START(MSM8909_DT, |
| 32 | "Qualcomm Technologies, Inc. MSM 8909 (Flattened Device Tree)") |
| 33 | .init_machine = msm8909_init, |
| 34 | .dt_compat = msm8909_dt_match, |
Raja Mallik | 869b676 | 2018-02-21 18:46:14 +0530 | [diff] [blame] | 35 | .smp = &msm8909_smp_ops, |
Raja Mallik | 3621de6 | 2018-02-12 14:40:05 +0530 | [diff] [blame] | 36 | MACHINE_END |