Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 992eca52 authored by Tengfei Fan's avatar Tengfei Fan Committed by Gerrit - the friendly Code Review server
Browse files

ARM: msm: Add board config support for 32 bit bengal



This change add initial board config support to enable build
32 bit kernel for bengal.

Change-Id: I93dfec53442e41e380ebbd6b28bffb9036d624b0
Signed-off-by: default avatarTengfei Fan <tengfeif@codeaurora.org>
parent 83939664
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_USE_OF) += board-dt.o
obj-$(CONFIG_SMP)	+= platsmp.o
obj-$(CONFIG_ARCH_BENGAL) += board-bengal.o
+25 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
#include <asm/mach/map.h>
#include <asm/mach/arch.h>
#include "board-dt.h"

static const char *trinket_dt_match[] __initconst = {
	"qcom,bengal",
	NULL
};

static void __init trinket_init(void)
{
	board_dt_populate(NULL);
}

DT_MACHINE_START(BENGAL,
	"Qualcomm Technologies, Inc. BENGAL (Flattened Device Tree)")
	.init_machine		= trinket_init,
	.dt_compat		= trinket_dt_match,
MACHINE_END