vision2: Fix build due to WEIM registers name change
authorFabio Estevam <festevam@gmail.com>
Sat, 11 Jun 2011 17:41:53 +0000 (17:41 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 4 Jul 2011 08:55:27 +0000 (10:55 +0200)
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

index 8e6ad745a61227724b870e68caee250eb1f1ea9b..565c4d05ba765b4775b4b36551e752b64229e231 100644 (file)
@@ -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)