From d2160aac9ca5f431c20ddbb89a118dd07b9cefd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 5 Aug 2013 19:38:32 +0000 Subject: [PATCH] (temporarily) disabled SD-card routines --- BaS_gcc/sources/BaS.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BaS_gcc/sources/BaS.c b/BaS_gcc/sources/BaS.c index 3b31ecf..68a91cd 100644 --- a/BaS_gcc/sources/BaS.c +++ b/BaS_gcc/sources/BaS.c @@ -245,6 +245,8 @@ void BaS(void) xprintf("enable MMU: "); MCF_MMU_MMUCR = MCF_MMU_MMUCR_EN; /* MMU on */ NOP(); /* force pipeline sync */ + flush_and_invalidate_caches(); + xprintf("finished\r\n"); xprintf("IDE reset: "); @@ -278,7 +280,7 @@ void BaS(void) xprintf("finished\r\n"); - sd_card_init(); + //sd_card_init(); /* * memory setup @@ -317,7 +319,7 @@ void BaS(void) __asm__ __volatile__("move.w #0x0700,sr \n\t" : : : "memory"); } - srec_execute("BASFLASH.S19"); + //srec_execute("BASFLASH.S19"); /* Jump into the OS */ typedef void void_func(void);