diff mbox

[U-Boot] vision2: Fix build due to WEIM registers name change

Message ID 1307850113-23150-1-git-send-email-festevam@gmail.com
State Accepted
Commit ea113823307da985e8934d413eaa47245f5b5f05
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam June 12, 2011, 3:41 a.m. UTC
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(-)

Comments

Stefano Babic June 14, 2011, 8:44 a.m. UTC | #1
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
diff mbox

Patch

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)