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

Heiko Schocher hs at denx.de
Fri Jun 21 10:44:13 CEST 2013


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 ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list