From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 21 Jun 2013 10:44:13 +0200 Subject: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX In-Reply-To: <51C40455.8060501@mm-sol.com> References: <1371784037.19200.1.camel@phoenix> <51C3F9CC.2040509@mm-sol.com> <51C400C5.2060804@mm-sol.com> <51C40455.8060501@mm-sol.com> Message-ID: <51C4125D.2010900@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 ... bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany