Maria Yu | e14bec7 | 2017-11-09 18:47:33 +0800 | [diff] [blame^] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #include <linux/kernel.h> |
| 14 | #include "board-dt.h" |
| 15 | #include <asm/mach/map.h> |
| 16 | #include <asm/mach/arch.h> |
| 17 | |
| 18 | static const char *sdm450_dt_match[] __initconst = { |
| 19 | "qcom,sdm450", |
| 20 | NULL |
| 21 | }; |
| 22 | |
| 23 | static void __init sdm450_init(void) |
| 24 | { |
| 25 | board_dt_populate(NULL); |
| 26 | } |
| 27 | |
| 28 | DT_MACHINE_START(SDM450_DT, |
| 29 | "Qualcomm Technologies, Inc. SDM450 (Flattened Device Tree)") |
| 30 | .init_machine = sdm450_init, |
| 31 | .dt_compat = sdm450_dt_match, |
| 32 | MACHINE_END |