Skip to content
Commit 3593709f authored by Shawn Lin's avatar Shawn Lin Committed by Lorenzo Pieralisi
Browse files

PCI: rockchip: Split out common function to init controller



Most of the initialization are used for both of RC driver and
EP driver; factor the initialization out to a new function,
rockchip_pcie_init_port(), in pcie-rockchip.c and rename the
original function to rockchip_pcie_host_init_port() to avoid
confusion. No functional changed intended.

Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
parent 964bac94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment