OSDN Git Service

ARM: qcom: add board entries for msmtriton
authorNeeraj Upadhyay <neeraju@codeaurora.org>
Mon, 17 Oct 2016 04:51:52 +0000 (10:21 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 27 Oct 2016 13:29:30 +0000 (06:29 -0700)
Add board entries to support msmtriton 32-bit boot.

Change-Id: Idfc139ff63f6268f836694e0680c1e44582dfbb3
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
arch/arm/mach-qcom/board-falcon.c

index e937405..aec1688 100644 (file)
@@ -31,3 +31,20 @@ DT_MACHINE_START(MSMFALCON_DT,
        .init_machine = msmfalcon_init,
        .dt_compat = msmfalcon_dt_match,
 MACHINE_END
+
+static const char *msmtriton_dt_match[] __initconst = {
+       "qcom,msmtriton",
+       "qcom,apqtriton",
+       NULL
+};
+
+static void __init msmtriton_init(void)
+{
+       board_dt_populate(NULL);
+}
+
+DT_MACHINE_START(MSMTRITON_DT,
+       "Qualcomm Technologies, Inc. MSM TRITON (Flattened Device Tree)")
+       .init_machine = msmtriton_init,
+       .dt_compat = msmtriton_dt_match,
+MACHINE_END