[U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

Axel Lin axel.lin at ingics.com
Fri Jun 21 10:45:59 CEST 2013


2013/6/21 Heiko Schocher <hs at denx.de>:
> Hello Lubomir,
>
> Am 21.06.2013 09:44, schrieb Lubomir Popov:
>> One more thing that perhaps seems more reasonable in general:
>>
>> These OMAP_MAX_GPIO defines could go into the corresponding .../arch-omap*.h
>> files, where the base addresses are defined, and the number of GPIOs is
>> implicitly obvious. And we shall have no ugly #ifdefs in the GPIO driver.
>
> This sounds good. I vote for doing it this way ...

I'm sending patches base on this idea now...

Thanks,
Axel


More information about the U-Boot mailing list