diff options
| author | Srinivas Ramana <sramana@codeaurora.org> | 2016-06-01 12:25:58 +0530 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-30 15:10:24 -0700 |
| commit | 45e27cd2378f293143fd3e2a87b6e148163ae53c (patch) | |
| tree | fbfcbce8c573c38d143954199cd9b7657bdd9dc8 | |
| parent | a90c874c80ca87d70d0d34ffd1d7d6c1cbc59fe2 (diff) | |
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>
| -rw-r--r-- | arch/arm/mach-qcom/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/mach-qcom/board-falcon.c | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/mach-qcom/Makefile b/arch/arm/mach-qcom/Makefile index 3d9f893ba3af..c5e30fff2b1e 100644 --- a/arch/arm/mach-qcom/Makefile +++ b/arch/arm/mach-qcom/Makefile @@ -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 diff --git a/arch/arm/mach-qcom/board-falcon.c b/arch/arm/mach-qcom/board-falcon.c new file mode 100644 index 000000000000..e9374050b2cb --- /dev/null +++ b/arch/arm/mach-qcom/board-falcon.c @@ -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 |
