[U-Boot] [PATCH V2 07/13] ARM: tegra: add/edit headers for Tegra124

Stephen Warren
2014-01-24T17:46:02Z

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.