summaryrefslogtreecommitdiff
path: root/board/nvidia/cardhu
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-05-12 12:07:39 -0600
committerTom Warren <twarren@nvidia.com>2016-05-31 09:53:56 -0700
commit01a97a11db75c1a006da7b40d8ba4a325f05960c (patch)
treef2c49594d96073ee1f2020edc037f520805c4607 /board/nvidia/cardhu
parentda6e2fab5db000e31187aa4c9495c244011792c1 (diff)
downloadu-boot-imx-01a97a11db75c1a006da7b40d8ba4a325f05960c.zip
u-boot-imx-01a97a11db75c1a006da7b40d8ba4a325f05960c.tar.gz
u-boot-imx-01a97a11db75c1a006da7b40d8ba4a325f05960c.tar.bz2
ARM: tegra: use DT bindings for GPIO naming
There are currently many places that define the list of all Tegra GPIOs; the DT binding header and custom Tegra-specific header file gpio.h. Fix the redundancy by replacing everything with the DT binding header file. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/cardhu')
-rw-r--r--board/nvidia/cardhu/cardhu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nvidia/cardhu/cardhu.c b/board/nvidia/cardhu/cardhu.c
index ba15e2e..f04f843 100644
--- a/board/nvidia/cardhu/cardhu.c
+++ b/board/nvidia/cardhu/cardhu.c
@@ -110,11 +110,11 @@ int tegra_pcie_board_init(void)
}
/* GPIO: PEX = 3.3V */
- err = gpio_request(GPIO_PL7, "PEX");
+ err = gpio_request(TEGRA_GPIO(L, 7), "PEX");
if (err < 0)
return err;
- gpio_direction_output(GPIO_PL7, 1);
+ gpio_direction_output(TEGRA_GPIO(L, 7), 1);
/* TPS659110: LDO2_REG = 1.05V, ACTIVE */
data[0] = 0x15;