From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 24 Jan 2014 10:46:02 -0700 Subject: [U-Boot] [PATCH V2 07/13] ARM: tegra: add/edit headers for Tegra124 In-Reply-To: <20140124152007.GG25720@ulmo.nvidia.com> References: <1390524180-15008-1-git-send-email-swarren@wwwdotorg.org> <1390524180-15008-7-git-send-email-swarren@wwwdotorg.org> <20140124152007.GG25720@ulmo.nvidia.com> Message-ID: <52E2A6DA.6030003@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/24/2014 08:20 AM, Thierry Reding wrote: > On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote: >> diff --git a/arch/arm/include/asm/arch-tegra124/gpio.h b/arch/arm/include/asm/arch-tegra124/gpio.h > [...] >> +enum gpio_pin { >> + GPIO_PA0 = 0, /* pin 0 */ > [...] >> + GPIO_PFF7, /* pin 255 */ >> +}; > > Perhaps this should be converted to something similar to what we have in > the kernel? We essentially duplicate this list for every SoC generation. I think there's quite a bit of opportunity to unify the headers and drivers for the on-SoC devices. I keep dreaming of an intern that can do a whole bunch of that. Maybe I'll manage to slowly trickle in some patches for it; we'll see. I'll fix up the other issues you mentioned.