summaryrefslogtreecommitdiff
path: root/lib/utils/mpxy/fdt_mpxy.c
blob: 6984ec748d5ac2eddc7906bf37006d0ec2aa0db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright (c) 2024 Ventana Micro Systems Inc.
 *
 * Authors:
 *   Anup Patel <[email protected]>
 */

#include <sbi_utils/mpxy/fdt_mpxy.h>

/* List of FDT MPXY drivers generated at compile time */
extern const struct fdt_driver *const fdt_mpxy_drivers[];

void fdt_mpxy_init(const void *fdt)
{
	/*
	 * Platforms might have multiple MPXY devices or might not
	 * have any MPXY devices so don't fail.
	 */
	fdt_driver_init_all(fdt, fdt_mpxy_drivers);
}