mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
ARM: msm: Add board config support for 32 bit SDXLEMUR
This change add initial board config support to enable build 32 bit kernel for SDXLEMUR. Change-Id: Ib5f1d06b33ba0264242a76572abc862bbe1daeab Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
parent
d3cddb0cac
commit
adeb86b7bd
3 changed files with 27 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
obj-$(CONFIG_SMP) += platsmp.o
|
||||
obj-$(CONFIG_USE_OF) += board-dt.o
|
||||
obj-$(CONFIG_ARCH_SDXLEMUR) += board-sdxlemur.o
|
||||
|
|
|
|||
25
arch/arm/mach-qcom/board-sdxlemur.c
Normal file
25
arch/arm/mach-qcom/board-sdxlemur.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include "board-dt.h"
|
||||
#include <asm/mach/map.h>
|
||||
#include <asm/mach/arch.h>
|
||||
|
||||
static const char *sdxlemur_dt_match[] __initconst = {
|
||||
"qcom,sdxlemur",
|
||||
NULL
|
||||
};
|
||||
|
||||
static void __init sdxlemur_init(void)
|
||||
{
|
||||
board_dt_populate(NULL);
|
||||
}
|
||||
|
||||
DT_MACHINE_START(SDXLEMUR_DT,
|
||||
"Qualcomm Technologies, Inc. SDXLEMUR (Flattened Device Tree)")
|
||||
.init_machine = sdxlemur_init,
|
||||
.dt_compat = sdxlemur_dt_match,
|
||||
MACHINE_END
|
||||
|
|
@ -651,6 +651,7 @@ static const struct soc_id soc_id[] = {
|
|||
{ 415, "LAHAINA" },
|
||||
{ 450, "SHIMA" },
|
||||
{ 454, "HOLI" },
|
||||
{ 458, "SDXLEMUR" },
|
||||
};
|
||||
|
||||
static struct qcom_socinfo *qsocinfo;
|
||||
|
|
|
|||
Loading…
Reference in a new issue