From: Laurence Withers Date: Wed, 5 Oct 2011 12:06:42 +0000 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: <1317807819-17056-2-git-send-email-sbabic@denx.de> References: <1317807819-17056-1-git-send-email-sbabic@denx.de> <1317807819-17056-2-git-send-email-sbabic@denx.de> Message-ID: <20111005120641.GA8500@lwithers.me.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Bye for now, -- Laurence Withers, http://www.guralp.com/ Direct tel:+447753988197 or tel:+443333408643 Software Engineer General support queries: CMG-DCM CMG-EAM CMG-NAM