Fixed cache management.

This commit is contained in:
Vincent Rivière
2012-10-20 14:29:57 +00:00
parent f56e5efee7
commit 86318c0fed
5 changed files with 16 additions and 95 deletions

View File

@@ -7,6 +7,7 @@
#include "MCF5475.h"
#include "MCF5475_SLT.h"
#include "startcf.h"
#include "cache.h"
extern uint32_t Bas_base[];
extern uint8_t tos_base[];
@@ -77,6 +78,9 @@ void BaS(void)
}
}
/* we have copied a code area, so flush the caches */
flush_and_invalidate_caches();
#ifdef _NOT_USED_
/*
* set the NVRAM checksum as invalid