ARM: tegra: pci: Parse odmbits to config lanes
authorJay Agarwal <jagarwal@nvidia.com>
Tue, 25 Jun 2013 07:40:10 +0000 (12:40 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:29:05 +0000 (13:29 -0700)
commitefe72b724d1014b38dd6755d3a1c82e1ce051b2c
treeaaa1b9e11fd2f38f8aae38c140705d6e32b27db6
parent3b0d96639174d1341a681a91135176274cb396f5
ARM: tegra: pci: Parse odmbits to config lanes

1. Parse odm bits[28:30] passed by boot loader to
kernel.
2. Program XBAR config based on above odm bits
3. Program Lane ownership to PCIe based on odm bits
4. Program GPIOs based on odmdata to enable PCIe
x1 slot for ERS-S board

Bug 1305915
Bug 1299907

Change-Id: I5a252df0577098c8b42dfe3eb745100fad964592
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/241767
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board.h
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/include/mach/pci.h
arch/arm/mach-tegra/include/mach/tegra_usb_pad_ctrl.h
arch/arm/mach-tegra/pcie.c
drivers/platform/tegra/tegra_usb_pad_ctrl.c