[U-Boot] [PATCH] tegra2: Use new GPIO APIs in gpio_config_uart()
Stephen Warren
swarren at nvidia.com
Fri Dec 2 00:30:45 CET 2011
Anatolij Gustschin wrote at Thursday, December 01, 2011 4:09 PM:
> On Thu, 6 Oct 2011 16:52:22 -0600
> Stephen Warren <swarren at nvidia.com> wrote:
>
> > ... 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
...
> This patch doesn't apply cleanly. There were a lot of tegra2 patches,
> so I'm not sure if it is not superseded by some newer patches. Can you
> please check and if the patch is needed, then re-base and resubmit.
> Thanks!
Yes, there are a lot of Tegra patches outstanding, and they need to be
applied in a specific order. Tom Warren just got set up to create a
u-boot-tegra.git and handle all the merging, so I think you can ignore
this patch for now.
Thanks for taking a look though!
--
nvpublic
More information about the U-Boot
mailing list