]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl: add LAW target to fsl_pci_info structure
authorTimur Tabi <timur@freescale.com>
Fri, 28 May 2010 20:05:30 +0000 (15:05 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Jul 2010 15:55:10 +0000 (10:55 -0500)
commit752bc335302d70d89c7e7cc711b9184260121b19
tree94e9e2f769b4e03d0bceee4cf19b2fd0af01bd06
parentae3913922ad8d001310bdb74065d58b3baa0f537
fsl: add LAW target to fsl_pci_info structure

Add the LAW target (enum law_trgt_if) to the fsl_pci_info structure, so that
we can capture the LAW target for a given PCI or PCIE controller.  Also update
the SET_STD_PCI_INFO and SET_STD_PCIE_INFO macros to assign the
LAW_TRGT_IF_PCI[E]_x macro to the LAW target field of the structure.

This will allow future PCI[E] code to configure the LAW target automatically,
rather than requiring each board to it for each PCI controller separately.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_pci.h