From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 8 Oct 2008 11:50:22 +0200 Subject: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration In-Reply-To: <12233779903360-git-send-email-matthias.fuchs@esd-electronics.com> References: <12233779901719-git-send-email-matthias.fuchs@esd-electronics.com> <12233779903360-git-send-email-matthias.fuchs@esd-electronics.com> Message-ID: <200810081150.22791.sr@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 Hi Matthias, On Tuesday 07 October 2008, matthias.fuchs at esd-electronics.com wrote: > From: Matthias Fuchs > > Signed-off-by: Matthias Fuchs > --- > board/esd/du440/du440.c | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c > index 8765cc1..5cff9f5 100644 > --- a/board/esd/du440/du440.c > +++ b/board/esd/du440/du440.c > @@ -52,15 +52,15 @@ int board_early_init_f(void) > * Setup the GPIO pins > */ > out_be32((void*)GPIO0_OR, 0x00000000 | CFG_GPIO0_EP_EEP); > - out_be32((void*)GPIO0_TCR, 0x0000000f | CFG_GPIO0_EP_EEP); > + out_be32((void*)GPIO0_TCR, 0x0000001f | CFG_GPIO0_EP_EEP); You might want to switch to the 4xx-GPIO initialization via the CFG_4xx_GPIO_TABLE define at some time. This makes it much easier to configure the GPIO's correctly. But if you don't want to do this right now, I can apply this current patch for now as a bug fix. Best regards, Stefan ===================================================================== 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 =====================================================================