Skip to content
Commit 8fad8d03 authored by Ionut Vicovan's avatar Ionut Vicovan Committed by Zhantao Tang
Browse files

s32g:pcie:ep: Make the driver compatible with the EP test framework

commit 6ec09971428bf839cb243a792f60cf7b7d1d5816 from
https://source.codeaurora.org/external/autobsps32/linux



Make the proper initialization from the S32G pcie driver.
Make configs PCI_S32GEN1_INIT_EP_BARS and PCI_EPF_TEST mutually exclusive
(as they control different test scenarios, and if PCI_S32GEN1_INIT_EP_BARS
is set, then epf fails to configure BARs).
Set custom BAR sizes when EPF is used.
Do not set class and revision in pcie driver when using EP test framework,
as it will be set from userspace via the filesystem.

Issue: ALB-4548

Signed-off-by: default avatarIonut Vicovan <Ionut.Vicovan@nxp.com>
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent ce8f74b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment