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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot