pci: xilinx: Fix doc comments on config space accessors
Subsystems (3)
PATCH 1/5 pci: xilinx: Fix doc comments on config space accessors
These take the 'struct udevice *' as an argument, not the 'struct xilinx_pcie *` which is a local variable. Fix the comments to match the code.
--- drivers/pci/pcie_xilinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pci/pcie_xilinx.c +2 -2
@@ -87,7 +87,7 @@ static int pcie_xilinx_config_address(struct xilinx_pcie *pcie, pci_dev_t bdf,/** * pcie_xilinx_read_config() - Read from configuration space -* @pcie: Pointer to the PCI controller state +* @bus: Pointer to the PCI bus * @bdf: Identifies the PCIe device to access * @offset: The offset into the device's configuration space * @valuep: A pointer at which to store the read value
@@ -130,7 +130,7 @@ static int pcie_xilinx_read_config(struct udevice *bus, pci_dev_t bdf,/** * pcie_xilinx_write_config() - Write to configuration space -* @pcie: Pointer to the PCI controller state +* @bus: Pointer to the PCI bus * @bdf: Identifies the PCIe device to access * @offset: The offset into the device's configuration space * @value: The value to write
Signature · 1 line
2.13.0
PATCH 2/5 pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie
This field has never been used as the driver has been DM-based since the beginning. Drop it.
--- drivers/pci/pcie_xilinx.c | 2 -- 1 file changed, 2 deletions(-)
drivers/pci/pcie_xilinx.c +0 -2
@@ -14,11 +14,9 @@/** * struct xilinx_pcie - Xilinx PCIe controller state -* @hose: The parent classes PCI controller state * @cfg_base: The base address of memory mapped configuration space */ struct xilinx_pcie { -struct pci_controller hose;void *cfg_base; };
Signature · 1 line
2.13.0
PATCH 2/5 pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie
Quoted 8 lines · Tuomas Tynkkynen
This field has never been used as the driver has been DM-based since the beginning. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>--- drivers/pci/pcie_xilinx.c | 2 -- 1 file changed, 2 deletions(-)
PATCH 2/5 pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie
In reply to Tuomas TynkkynenQuoted 5 lines · Tuomas Tynkkynen
This field has never been used as the driver has been DM-based since the beginning. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170922/79cc2764/attachment.sig>
PATCH 3/5 pci: tegra: Remove unused field 'hose' from struct tegra_pcie
In reply to Tuomas TynkkynenThis field is no longer used since the DM conversion. Drop it.
--- drivers/pci/pci_tegra.c | 2 -- 1 file changed, 2 deletions(-)
drivers/pci/pci_tegra.c +0 -2
@@ -218,8 +218,6 @@ struct tegra_pcie_soc { };struct tegra_pcie { -struct pci_controller hose; -struct resource pads;struct resource afi;struct resource cs;
Signature · 1 line
2.13.0
PATCH 3/5 pci: tegra: Remove unused field 'hose' from struct tegra_pcie
Quoted 7 lines · Tuomas Tynkkynen
This field is no longer used since the DM conversion. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>--- drivers/pci/pci_tegra.c | 2 -- 1 file changed, 2 deletions(-)
PATCH 3/5 pci: tegra: Remove unused field 'hose' from struct tegra_pcie
In reply to Tuomas TynkkynenQuoted 4 lines · Tuomas Tynkkynen
This field is no longer used since the DM conversion. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170922/01075c56/attachment.sig>
PATCH 4/5 pci: layerscape: Remove unused field 'hose' from struct ls_pcie
In reply to Tuomas TynkkynenThis field is no longer used since the DM conversion. Drop it.
--- drivers/pci/pcie_layerscape.h | 1 - 1 file changed, 1 deletion(-)
drivers/pci/pcie_layerscape.h +0 -1
@@ -145,7 +145,6 @@ struct ls_pcie {bool big_endian;bool enabled;int next_lut_index; -struct pci_controller hose; };extern struct list_head ls_pcie_list;
Signature · 1 line
2.13.0
PATCH 4/5 pci: layerscape: Remove unused field 'hose' from struct ls_pcie
Quoted 7 lines · Tuomas Tynkkynen
This field is no longer used since the DM conversion. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>--- drivers/pci/pcie_layerscape.h | 1 - 1 file changed, 1 deletion(-)
PATCH 4/5 pci: layerscape: Remove unused field 'hose' from struct ls_pcie
In reply to Tuomas TynkkynenQuoted 4 lines · Tuomas Tynkkynen
This field is no longer used since the DM conversion. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170922/33df9c6c/attachment.sig>
PATCH 5/5 pci: Remove unnecessary 'default n' from Kconfig
In reply to Tuomas Tynkkynen'default n' is the default anyway so it doesn't need to be specified explicitly, and the rest of the file doesn't specify it either anywhere. Drop it.
--- drivers/pci/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/pci/Kconfig +0 -1
@@ -35,7 +35,6 @@ config PCI_PNP config PCIE_DW_MVEBU bool "Enable Armada-8K PCIe driver (DesignWare core)" - default n depends on DM_PCI depends on ARMADA_8K help
Signature · 1 line
2.13.0
PATCH 5/5 pci: Remove unnecessary 'default n' from Kconfig
Quoted 9 lines · Tuomas Tynkkynen
'default n' is the default anyway so it doesn't need to be specified explicitly, and the rest of the file doesn't specify it either anywhere. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>--- drivers/pci/Kconfig | 1 - 1 file changed, 1 deletion(-)
PATCH 5/5 pci: Remove unnecessary 'default n' from Kconfig
In reply to Tuomas TynkkynenQuoted 6 lines · Tuomas Tynkkynen
'default n' is the default anyway so it doesn't need to be specified explicitly, and the rest of the file doesn't specify it either anywhere. Drop it.
Signed-off-by Tuomas Tynkkynen <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170922/8c874173/attachment.sig>
PATCH 1/5 pci: xilinx: Fix doc comments on config space accessors
In reply to Tuomas TynkkynenQuoted 9 lines · Tuomas Tynkkynen
These take the 'struct udevice *' as an argument, not the 'struct
xilinx_pcie*` which is a local variable. Fix the comments to match the code.Signed-off-by Tuomas Tynkkynen <[email protected]>--- drivers/pci/pcie_xilinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
PATCH 1/5 pci: xilinx: Fix doc comments on config space accessors
In reply to Tuomas TynkkynenQuoted 6 lines · Tuomas Tynkkynen
These take the 'struct udevice *' as an argument, not the 'struct
xilinx_pcie*` which is a local variable. Fix the comments to match the code.Signed-off-by Tuomas Tynkkynen <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170922/fe1dc3c0/attachment.sig>