msmfalcon: add board files for 32-bit boot

Add board file to support msmfalcon 32-bit boot.

Change-Id: I4a7c9fd54983e58e5fdd73ae080702018a813cd7
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
This commit is contained in:
Srinivas Ramana 2016-06-01 12:25:58 +05:30 committed by Kyle Yan
parent a90c874c80
commit 45e27cd237
2 changed files with 34 additions and 0 deletions

View file

@ -1,3 +1,4 @@
obj-y := board.o
obj-$(CONFIG_USE_OF) += board-dt.o
obj-$(CONFIG_ARCH_MSMFALCON) += board-falcon.o
obj-$(CONFIG_SMP) += platsmp.o

View file

@ -0,0 +1,33 @@
/*
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/kernel.h>
#include <asm/mach/arch.h>
#include "board-dt.h"
static const char *msmfalcon_dt_match[] __initconst = {
"qcom,msmfalcon",
"qcom,apqfalcon",
NULL
};
static void __init msmfalcon_init(void)
{
board_dt_populate(NULL);
}
DT_MACHINE_START(MSMFALCON_DT,
"Qualcomm Technologies, Inc. MSM FALCON (Flattened Device Tree)")
.init_machine = msmfalcon_init,
.dt_compat = msmfalcon_dt_match,
MACHINE_END