summaryrefslogtreecommitdiff
path: root/src/drivers/pcie/generic/chip.h
blob: 5d762ec250b78c8870096308150fa0ed563cb419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _PCIE_GENERIC_H_
#define _PCIE_GENERIC_H_

#include <types.h>

struct drivers_pcie_generic_config {
	bool is_untrusted;
	/*
	 * This needs to be pointed to the device instance in the device tree when
	 * there is already a device with the root port so that the ACPI code to be
	 * generated will be added to that existing device.
	 * By default, an ACPI device named 'DEV0' is created under the root port if
	 * this does not reference to a device.
	 */
	DEVTREE_CONST struct device *companion_dev;
};

#endif /* _PCIE_GENERIC_H_ */