blob: 31f5d3ebce2227de482e8c1edcaff4b24f24353c [file] [log] [blame]
Runmin Wang88a6fcb2017-04-19 15:28:07 -07001/* 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
18static const char *sdxpoorwills_dt_match[] __initconst = {
19 "qcom,sdxpoorwills",
20 NULL
21};
22
23static void __init sdxpoorwills_init(void)
24{
25 board_dt_populate(NULL);
26}
27
28DT_MACHINE_START(SDXPOORWILLS_DT,
29 "Qualcomm Technologies, Inc. SDX POORWILLS (Flattened Device Tree)")
30 .init_machine = sdxpoorwills_init,
31 .dt_compat = sdxpoorwills_dt_match,
32MACHINE_END