From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 01 Dec 2011 16:30:45 -0700 Subject: [U-Boot] [PATCH] tegra2: Use new GPIO APIs in gpio_config_uart() In-Reply-To: <20111202000855.110a1102@wker> References: <1317941542-19690-1-git-send-email-swarren@nvidia.com> <20111202000855.110a1102@wker> Message-ID: <4ED80E25.3090200@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Anatolij Gustschin wrote at Thursday, December 01, 2011 4:09 PM: > On Thu, 6 Oct 2011 16:52:22 -0600 > Stephen Warren 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