From: Greg Ungerer Date: Thu, 8 Sep 2005 23:32:14 +0000 (+1000) Subject: [PATCH] m68knommu: register map setup for MOD5272 board X-Git-Tag: 2.1b_release~39784^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a79626604bc044cec30bfc6cc3332007588e1a94;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [PATCH] m68knommu: register map setup for MOD5272 board 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 Signed-off-by: Linus Torvalds --- diff --git a/arch/m68knommu/platform/5272/config.c b/arch/m68knommu/platform/5272/config.c index 5cb2869..cf36e7d 100644 --- a/arch/m68knommu/platform/5272/config.c +++ b/arch/m68knommu/platform/5272/config.c @@ -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