From dfd46f42c58c0bb2826c19c0ebd11eb37d2e4da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Sun, 14 Oct 2012 20:53:14 +0000 Subject: [PATCH] Fixed correct MCF_MMU_MMUCR usage. --- BaS_GNU/BaS_GNU/sources/startcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_GNU/BaS_GNU/sources/startcf.c b/BaS_GNU/BaS_GNU/sources/startcf.c index 48f360c..1513c92 100644 --- a/BaS_GNU/BaS_GNU/sources/startcf.c +++ b/BaS_GNU/BaS_GNU/sources/startcf.c @@ -21,7 +21,7 @@ void startup(void) asm("move.l #__MMUBAR+1,d0\n\t"); asm("movec d0,MMUBAR"); /* set mmubar */ - * (volatile uint32_t *) MCF_MMU_MMUCR = 0L; /* MMU off */ + MCF_MMU_MMUCR = 0L; /* MMU off */ asm( "|/* Initialize RAMBARs: locate SRAM and validate it */\n\t"