Skip to content
Snippets Groups Projects
Commit 505f3e6f authored by Minghuan Lian's avatar Minghuan Lian Committed by Andy Fleming
Browse files

fsl_pci: use 'Header Type' field to judge PCIE mode


The original code uses 'Programming Interface' field to judge if PCIE is
EP or RC mode, however, T4240 does not support this functionality.
According to PCIE specification, 'Header Type' offset 0x0e is used to
indicate header type, so for PCIE controller, the patch changes code to
use 'Header Type' field to identify if the PCIE is EP or RC mode.

Signed-off-by: default avatarMinghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 99070db0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment