From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 05 Oct 2011 15:00:24 +0200 Subject: [U-Boot] [PATCH 02/12] Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console In-Reply-To: <20111005120641.GA8500@lwithers.me.uk> References: <1317807819-17056-1-git-send-email-sbabic@denx.de> <1317807819-17056-2-git-send-email-sbabic@denx.de> <20111005120641.GA8500@lwithers.me.uk> Message-ID: <4E8C54E8.40006@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 On 10/05/2011 02:06 PM, Laurence Withers wrote: > On Wed, Oct 05, 2011 at 11:43:29AM +0200, Stefano Babic wrote: >> From: Bastian Ruppert >> >> Signed-off-by: Bastian Ruppert >> Signed-off-by: Stefano Babic >> CC: dzu at denx.de >> CC: Sandeep Paulraj >> --- >> arch/arm/include/asm/arch-davinci/hardware.h | 4 +++ >> board/davinci/ea20/ea20.c | 30 +++++++++++++++++++++++++- >> 2 files changed, 33 insertions(+), 1 deletions(-) > > There are generic GPIO functions (asm/gpio.h) for DaVinci; you should > probably use those instead of directly programming the registers. Right. Then I prepare an additional patch to clean up all direct access to gpio registers to this files and I add to this patchset. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================