diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-05-12 18:07:39 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-05-31 16:53:56 (GMT) |
commit | 01a97a11db75c1a006da7b40d8ba4a325f05960c (patch) | |
tree | f2c49594d96073ee1f2020edc037f520805c4607 /board/nvidia/seaboard/seaboard.c | |
parent | da6e2fab5db000e31187aa4c9495c244011792c1 (diff) | |
download | u-boot-01a97a11db75c1a006da7b40d8ba4a325f05960c.tar.xz |
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/seaboard/seaboard.c')
-rw-r--r-- | board/nvidia/seaboard/seaboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 2d07001..fc9c1c9 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -20,8 +20,8 @@ void gpio_early_init_uart(void) { /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */ - gpio_request(GPIO_PI3, "uart_en"); - gpio_direction_output(GPIO_PI3, 0); + gpio_request(TEGRA_GPIO(I, 3), "uart_en"); + gpio_direction_output(TEGRA_GPIO(I, 3), 0); } #endif |