Skip to content
Commit a1b20d3d authored by Neil Armstrong's avatar Neil Armstrong Committed by Anas Nashif
Browse files

pcie: controller: prepare to enumerate bars for Type 1 endpoints



The Type 1 endpoints has 2 BARs are the same position as the Type 0
BARS 0 & 1, so reuse the generic_pcie_ctrl_type0_enumerate_bars()
for both types by passing the number of possible BARs on the endpoint.

Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent c65016b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment