]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] m68knommu: register map setup for MOD5272 board
authorGreg Ungerer <gerg@snapgear.com>
Thu, 8 Sep 2005 23:32:14 +0000 (09:32 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 00:27:37 +0000 (17:27 -0700)
The boot loader on the MOD5272 board doesn't set the register maping,
so set it in the 5272 init code. There was code in there to support
this, but we had never needed to use it before.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68knommu/platform/5272/config.c

index 5cb28690f89a598d2008b147872b31678e917c1e..cf36e7d007b9eab480c48b9544532a55323e3569 100644 (file)
@@ -104,11 +104,11 @@ int mcf_timerirqpending(int timer)
 
 void config_BSP(char *commandp, int size)
 {
-#if 0
-       volatile unsigned long  *pivrp;
+#if defined (CONFIG_MOD5272)
+       volatile unsigned char  *pivrp;
 
        /* Set base of device vectors to be 64 */
-       pivrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_PIVR);
+       pivrp = (volatile unsigned char *) (MCF_MBAR + MCFSIM_PIVR);
        *pivrp = 0x40;
 #endif