diff options
author | Xiaowei Bao <xiaowei.bao@nxp.com> | 2018-10-26 09:56:24 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2019-01-17 13:17:28 -0800 |
commit | 5bd3c9d5565a40e3494867fa501e45be53d5e49a (patch) | |
tree | 7e0894bc55538ea890aa596ce56020f341cb3020 /drivers/pci/pcie_layerscape.h | |
parent | bae54ac99e4eb96e603821559627c46154a0d8ed (diff) | |
download | u-boot-5bd3c9d5565a40e3494867fa501e45be53d5e49a.tar.gz u-boot-5bd3c9d5565a40e3494867fa501e45be53d5e49a.tar.xz u-boot-5bd3c9d5565a40e3494867fa501e45be53d5e49a.zip |
pci: layerscape: Modify the EP and RC mode judge method
Modify the RC and EP mode judge method, save the mode as a variable,
the variable will be used by other function.
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/pci/pcie_layerscape.h')
-rw-r--r-- | drivers/pci/pcie_layerscape.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape.h b/drivers/pci/pcie_layerscape.h index 8770b44a1f..ddfbba6538 100644 --- a/drivers/pci/pcie_layerscape.h +++ b/drivers/pci/pcie_layerscape.h @@ -144,6 +144,7 @@ struct ls_pcie { bool big_endian; bool enabled; int next_lut_index; + int mode; }; extern struct list_head ls_pcie_list; |