u-boot-brain/board/nvidia/seaboard
Stephen Warren 5fac236a97 tegra2: Use new GPIO APIs in gpio_config_uart()
... rather than open-coding the register accesses.

However, gpio_request() typically stores the "label" parameter in a global
data structure. This causes problems when called from gpio_config_uart(),
since the code is running before relocation. To solve this, pass a NULL
string to gpio_request(), and modify gpio_request() not to touch the string
if it's NULL.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2011-12-09 17:30:08 +01:00
..
Makefile build: add missing $(AR)->$(cmd_link_o_target) update 2011-10-22 01:18:41 +02:00
seaboard.c tegra2: Use new GPIO APIs in gpio_config_uart() 2011-12-09 17:30:08 +01:00