From 4e6371ec0fe5c2359c247e5504e627a29f377d1d 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/sources/startcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_GNU/sources/startcf.c b/BaS_GNU/sources/startcf.c index 48f360c..1513c92 100644 --- a/BaS_GNU/sources/startcf.c +++ b/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"