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

Commit 7d6488dd authored by Gaurav Kohli's avatar Gaurav Kohli Committed by Shadab Naseem
Browse files

soc: qcom: pil: Add support for sequential loading property



Add support for sequential loading property to be read from
device-tree.

Change-Id: I005293bc369328ee07de671d3fe08e7f26e285b8
Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
Signed-off-by: default avatarShadab Naseem <snaseem@codeaurora.org>
parent 0778c6d8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
@@ -1237,6 +1237,9 @@ static int pil_tz_driver_probe(struct platform_device *pdev)
		}
	}

	d->desc.sequential_loading = of_property_read_bool(pdev->dev.of_node,
						"qcom,sequential-fw-load");

	d->ramdump_dev = create_ramdump_device(d->subsys_desc.name,
								&pdev->dev);
	if (!d->ramdump_dev) {