public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] vision2: Fix build due to WEIM registers name change
@ 2011-06-12  3:41 Fabio Estevam
  2011-06-14  8:44 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-06-12  3:41 UTC (permalink / raw)
  To: u-boot

commit 0015de1a (MX5: Make the weim structure complete) fixed the name for
the WEIM registers in order to match with the MX51/MX53 manuals.

Fix the WEIM register for vision2 board so that it can build again.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/ttcontrol/vision2/vision2.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index 8e6ad74..565c4d0 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -169,11 +169,11 @@ static void setup_weim(void)
 {
 	struct weim  *pweim = (struct weim *)WEIM_BASE_ADDR;
 
-	pweim->csgcr1 = 0x004100b9;
-	pweim->csgcr2 = 0x00000001;
-	pweim->csrcr1 = 0x0a018000;
-	pweim->csrcr2 = 0;
-	pweim->cswcr1 = 0x0704a240;
+	pweim->cs0gcr1 = 0x004100b9;
+	pweim->cs0gcr2 = 0x00000001;
+	pweim->cs0rcr1 = 0x0a018000;
+	pweim->cs0rcr2 = 0;
+	pweim->cs0wcr1 = 0x0704a240;
 }
 
 static void setup_uart(void)
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] vision2: Fix build due to WEIM registers name change
  2011-06-12  3:41 [U-Boot] [PATCH] vision2: Fix build due to WEIM registers name change Fabio Estevam
@ 2011-06-14  8:44 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2011-06-14  8:44 UTC (permalink / raw)
  To: u-boot

On 06/12/2011 05:41 AM, Fabio Estevam wrote:
> commit 0015de1a (MX5: Make the weim structure complete) fixed the name for
> the WEIM registers in order to match with the MX51/MX53 manuals.
> 
> Fix the WEIM register for vision2 board so that it can build again.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied to u-boot-imx (next branch), thanks.

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
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-14  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-12  3:41 [U-Boot] [PATCH] vision2: Fix build due to WEIM registers name change Fabio Estevam
2011-06-14  8:44 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox