Commit a7962660 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[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: default avatarGreg Ungerer <gerg@uclinux.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a052b7af
...@@ -104,11 +104,11 @@ int mcf_timerirqpending(int timer) ...@@ -104,11 +104,11 @@ int mcf_timerirqpending(int timer)
void config_BSP(char *commandp, int size) void config_BSP(char *commandp, int size)
{ {
#if 0 #if defined (CONFIG_MOD5272)
volatile unsigned long *pivrp; volatile unsigned char *pivrp;
/* Set base of device vectors to be 64 */ /* 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; *pivrp = 0x40;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment